<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Cross platform C++ compiling in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/cross-platform-c-compiling/m-p/3743429#M786773</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;i've developed a concurrent server in C++ on the Linux platform.&lt;BR /&gt;Now i have to make it available on the HP-UX platform.&lt;BR /&gt;&lt;BR /&gt;I'm using STL, pthreads and some other POSIX funtions...&lt;BR /&gt;On the Linux platform, compiling works out fine, on the HP-UX i'm experiencing some difficulties.&lt;BR /&gt;&lt;BR /&gt;I think most of my errors can be solved by setting all compiler options right.&lt;BR /&gt;I'm using the book "Advanced Unix Programming", but it doesn't say anything about compiling with STL and such...&lt;BR /&gt;&lt;BR /&gt;Is there some (online?) documentation available on using HP-UX. g++ online?&lt;BR /&gt;&lt;BR /&gt;Our HP-Ux version:&lt;BR /&gt;  HP-UX B.11.00 A 9000/785&lt;BR /&gt;gcc version:&lt;BR /&gt;  gcc version 2.95.3 20010315 (release)&lt;BR /&gt;&lt;BR /&gt;Any help would be very appreciated...</description>
    <pubDate>Fri, 03 Mar 2006 04:23:34 GMT</pubDate>
    <dc:creator>karel nijs</dc:creator>
    <dc:date>2006-03-03T04:23:34Z</dc:date>
    <item>
      <title>Cross platform C++ compiling</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cross-platform-c-compiling/m-p/3743429#M786773</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;i've developed a concurrent server in C++ on the Linux platform.&lt;BR /&gt;Now i have to make it available on the HP-UX platform.&lt;BR /&gt;&lt;BR /&gt;I'm using STL, pthreads and some other POSIX funtions...&lt;BR /&gt;On the Linux platform, compiling works out fine, on the HP-UX i'm experiencing some difficulties.&lt;BR /&gt;&lt;BR /&gt;I think most of my errors can be solved by setting all compiler options right.&lt;BR /&gt;I'm using the book "Advanced Unix Programming", but it doesn't say anything about compiling with STL and such...&lt;BR /&gt;&lt;BR /&gt;Is there some (online?) documentation available on using HP-UX. g++ online?&lt;BR /&gt;&lt;BR /&gt;Our HP-Ux version:&lt;BR /&gt;  HP-UX B.11.00 A 9000/785&lt;BR /&gt;gcc version:&lt;BR /&gt;  gcc version 2.95.3 20010315 (release)&lt;BR /&gt;&lt;BR /&gt;Any help would be very appreciated...</description>
      <pubDate>Fri, 03 Mar 2006 04:23:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cross-platform-c-compiling/m-p/3743429#M786773</guid>
      <dc:creator>karel nijs</dc:creator>
      <dc:date>2006-03-03T04:23:34Z</dc:date>
    </item>
    <item>
      <title>Re: Cross platform C++ compiling</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cross-platform-c-compiling/m-p/3743430#M786774</link>
      <description>Karel,&lt;BR /&gt;for a common problem:&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=838354" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=838354&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;For all the HP Documentation please see:&lt;BR /&gt;&lt;A href="http://www.docs.hp.com/cgi-bin/search" target="_blank"&gt;http://www.docs.hp.com/cgi-bin/search&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Are you up-to-date on all patches.&lt;BR /&gt;</description>
      <pubDate>Fri, 03 Mar 2006 04:31:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cross-platform-c-compiling/m-p/3743430#M786774</guid>
      <dc:creator>Peter Godron</dc:creator>
      <dc:date>2006-03-03T04:31:31Z</dc:date>
    </item>
    <item>
      <title>Re: Cross platform C++ compiling</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cross-platform-c-compiling/m-p/3743431#M786775</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Since Gcc is non hp&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://gcc.gnu.org/" target="_blank"&gt;http://gcc.gnu.org/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://h21007.www2.hp.com/dspp/tech/tech_TechDocumentDetailPage_IDX/1,1701,2504,00.html" target="_blank"&gt;http://h21007.www2.hp.com/dspp/tech/tech_TechDocumentDetailPage_IDX/1,1701,2504,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;is hp stuff&lt;BR /&gt;&lt;BR /&gt;           Steve Steel&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 03 Mar 2006 04:32:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cross-platform-c-compiling/m-p/3743431#M786775</guid>
      <dc:creator>Steve Steel</dc:creator>
      <dc:date>2006-03-03T04:32:38Z</dc:date>
    </item>
    <item>
      <title>Re: Cross platform C++ compiling</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cross-platform-c-compiling/m-p/3743432#M786776</link>
      <description>Hi Karel, &lt;BR /&gt;&lt;BR /&gt;Are you trying to build a cross compiler using GCC ? or you are building separeltely on HP-UX ? &lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://devresource.hp.com/drc/index.jsp" target="_blank"&gt;http://devresource.hp.com/drc/index.jsp&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;-Arun</description>
      <pubDate>Fri, 03 Mar 2006 04:35:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cross-platform-c-compiling/m-p/3743432#M786776</guid>
      <dc:creator>Arunvijai_4</dc:creator>
      <dc:date>2006-03-03T04:35:52Z</dc:date>
    </item>
    <item>
      <title>Re: Cross platform C++ compiling</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cross-platform-c-compiling/m-p/3743433#M786777</link>
      <description>@steve steel: i can open your second link because i can't log in with my HP account there :-S&lt;BR /&gt;&lt;BR /&gt;i'm not designing a cross compiler, i just want to compile my source files (.cpp), which work on Linux, on the HP-UX server.&lt;BR /&gt;&lt;BR /&gt;I'm not allowed to install any patches&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;This is my Makefile:&lt;BR /&gt;&lt;BR /&gt;# ****************************************&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;# Makefile for Separate Compilation Example&lt;BR /&gt;# Compiler: GNU C++ compiler&lt;BR /&gt;# Linker: /usr/bin/ld&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;# *****************************************************&lt;BR /&gt;# Parameters to control Makefile operation&lt;BR /&gt;# no errors -&amp;gt; -w&lt;BR /&gt;# all errors -&amp;gt; -Wall&lt;BR /&gt;# -Aa -&amp;gt; ANSI C&lt;BR /&gt;# -O -&amp;gt; optimalisation&lt;BR /&gt;# -D_XOPEN_SOURCE_EXTENDED -w -D_HPUX_SOURCE&lt;BR /&gt;&lt;BR /&gt;CXX = g++&lt;BR /&gt;#CXXcommon = -lstdc++ -w -D_POSIX_C_SOURCE=199309L -MM -xc++ -Dunix&lt;BR /&gt;#CXXcommon = -lstdc++ -fpic -shared -w -static -D_POSIX_C_SOURCE=199309L -MM -xc++ -Dunix&lt;BR /&gt;&lt;BR /&gt;CXXcommon = -fexceptions -lpthread -Wall -lstdc++ -features=castop&lt;BR /&gt;#-shared -fPIC&lt;BR /&gt;CXXFLAGS = -c&lt;BR /&gt;CXXFLAGSserv = -lpthread&lt;BR /&gt;&lt;BR /&gt;# ****************************************************&lt;BR /&gt;# Entries to bring the executable up to date&lt;BR /&gt;&lt;BR /&gt;server: server.cpp ASICclient.o ASIChost.o Connection.o Listener.o Networkfunctions.o ASICexception.o  ASICserver.o Debug.o PSgen.o server.o network.h&lt;BR /&gt; $(CXX) $(CXXcommon) $(CXXFLAGSserv) -o server ASICclient.o ASIChost.o Connection.o Listener.o Networkfunctions.o ASICexception.o  ASICserver.o Debug.o PSgen.o server.o&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;# server.o : server.cpp&lt;BR /&gt;#  $(CXX) $(CXXcommon) $(CXXFLAGS) server.cpp&lt;BR /&gt; &lt;BR /&gt; &lt;BR /&gt;clean:&lt;BR /&gt; rm -rf *.o *.so&lt;BR /&gt;&lt;BR /&gt;mrproper:&lt;BR /&gt; rm -rf *.o *.so a.out server&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;# ****************************************&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;as you can see, i've tried a lot of options (commented out) because everywhere on the Internet i find other options to set.&lt;BR /&gt;Actually, the situation has become more trial-and-error, that's why i asked for clear documentation online...</description>
      <pubDate>Fri, 03 Mar 2006 09:17:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cross-platform-c-compiling/m-p/3743433#M786777</guid>
      <dc:creator>karel nijs</dc:creator>
      <dc:date>2006-03-03T09:17:29Z</dc:date>
    </item>
  </channel>
</rss>

