<?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 C++ on HP-UX 11.23 in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/c-on-hp-ux-11-23/m-p/3879544#M99085</link>
    <description>Hi!&lt;BR /&gt;What software environment do I need to compile and run C++ (object orinted) programs under HP-UX 11.23?&lt;BR /&gt;&lt;BR /&gt;For example, now I use cc compiler and I get such errors:&lt;BR /&gt;&lt;BR /&gt;Simple program text:&lt;BR /&gt;root@lev /home/igorps&amp;gt;more cout.c &lt;BR /&gt;#include &lt;IOSTREAM.H&gt;&lt;BR /&gt;     void main(){&lt;BR /&gt;          cout &amp;lt;&amp;lt; "Hello, World!\n";&lt;BR /&gt;               } &lt;BR /&gt;&lt;BR /&gt;root@lev /home/igorps&amp;gt;cc cout.c &lt;BR /&gt;Error 112: "cout.c", line 1 # Include file &lt;IOSTREAM.H&gt; not found.&lt;BR /&gt;    #include &lt;IOSTREAM.H&gt;&lt;BR /&gt;             ^^^^^^^^^^^^&lt;BR /&gt;Error (future) 355: "cout.c", line 2 # Function 'main' must return type 'int'.&lt;BR /&gt;         void main(){&lt;BR /&gt;              ^^^^   &lt;BR /&gt;Error 172: "cout.c", line 3 # Undeclared variable 'cout'.&lt;BR /&gt;              cout &amp;lt;&amp;lt; "Hello, World!\n";&lt;BR /&gt;              ^^^^                      &lt;BR /&gt;Warning:        1 future errors were detected and ignored. Add a '+p' option to detect and fix them before they become fatal errors in a future release. Behavior of this ill-formed program is not guaranteed to match that of a well-formed program&lt;/IOSTREAM.H&gt;&lt;/IOSTREAM.H&gt;&lt;/IOSTREAM.H&gt;</description>
    <pubDate>Fri, 13 Oct 2006 01:34:32 GMT</pubDate>
    <dc:creator>Igor Sovin</dc:creator>
    <dc:date>2006-10-13T01:34:32Z</dc:date>
    <item>
      <title>C++ on HP-UX 11.23</title>
      <link>https://community.hpe.com/t5/operating-system-linux/c-on-hp-ux-11-23/m-p/3879544#M99085</link>
      <description>Hi!&lt;BR /&gt;What software environment do I need to compile and run C++ (object orinted) programs under HP-UX 11.23?&lt;BR /&gt;&lt;BR /&gt;For example, now I use cc compiler and I get such errors:&lt;BR /&gt;&lt;BR /&gt;Simple program text:&lt;BR /&gt;root@lev /home/igorps&amp;gt;more cout.c &lt;BR /&gt;#include &lt;IOSTREAM.H&gt;&lt;BR /&gt;     void main(){&lt;BR /&gt;          cout &amp;lt;&amp;lt; "Hello, World!\n";&lt;BR /&gt;               } &lt;BR /&gt;&lt;BR /&gt;root@lev /home/igorps&amp;gt;cc cout.c &lt;BR /&gt;Error 112: "cout.c", line 1 # Include file &lt;IOSTREAM.H&gt; not found.&lt;BR /&gt;    #include &lt;IOSTREAM.H&gt;&lt;BR /&gt;             ^^^^^^^^^^^^&lt;BR /&gt;Error (future) 355: "cout.c", line 2 # Function 'main' must return type 'int'.&lt;BR /&gt;         void main(){&lt;BR /&gt;              ^^^^   &lt;BR /&gt;Error 172: "cout.c", line 3 # Undeclared variable 'cout'.&lt;BR /&gt;              cout &amp;lt;&amp;lt; "Hello, World!\n";&lt;BR /&gt;              ^^^^                      &lt;BR /&gt;Warning:        1 future errors were detected and ignored. Add a '+p' option to detect and fix them before they become fatal errors in a future release. Behavior of this ill-formed program is not guaranteed to match that of a well-formed program&lt;/IOSTREAM.H&gt;&lt;/IOSTREAM.H&gt;&lt;/IOSTREAM.H&gt;</description>
      <pubDate>Fri, 13 Oct 2006 01:34:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/c-on-hp-ux-11-23/m-p/3879544#M99085</guid>
      <dc:creator>Igor Sovin</dc:creator>
      <dc:date>2006-10-13T01:34:32Z</dc:date>
    </item>
    <item>
      <title>Re: C++ on HP-UX 11.23</title>
      <link>https://community.hpe.com/t5/operating-system-linux/c-on-hp-ux-11-23/m-p/3879545#M99086</link>
      <description>Hi Igor, &lt;BR /&gt;&lt;BR /&gt;You need to have either aCC or GCC to compile C++ programs in HP-UX 11.23. You can download them from these locations, &lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://h20293.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=B9007AAEVAL" target="_blank"&gt;http://h20293.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=B9007AAEVAL&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://h21007.www2.hp.com/dspp/tech/tech_TechSoftwareDetailPage_IDX/1,1703,7663,00.html" target="_blank"&gt;http://h21007.www2.hp.com/dspp/tech/tech_TechSoftwareDetailPage_IDX/1,1703,7663,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;-Arun</description>
      <pubDate>Fri, 13 Oct 2006 01:39:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/c-on-hp-ux-11-23/m-p/3879545#M99086</guid>
      <dc:creator>Arunvijai_4</dc:creator>
      <dc:date>2006-10-13T01:39:32Z</dc:date>
    </item>
    <item>
      <title>Re: C++ on HP-UX 11.23</title>
      <link>https://community.hpe.com/t5/operating-system-linux/c-on-hp-ux-11-23/m-p/3879546#M99087</link>
      <description>I've tried to use gcc, but I get other errors.&lt;BR /&gt;GCC compiler couldn't find .h files&lt;BR /&gt;&lt;BR /&gt;root@lev /home/igorps&amp;gt;/usr/local/bin/gcc cout.c&lt;BR /&gt;cout.c:1:22: iostream.h: No such file or directory&lt;BR /&gt;cout.c: In function `main':&lt;BR /&gt;cout.c:3: error: `cout' undeclared (first use in this function)&lt;BR /&gt;cout.c:3: error: (Each undeclared identifier is reported only once&lt;BR /&gt;cout.c:3: error: for each function it appears in.)&lt;BR /&gt;cout.c:2: warning: return type of 'main' is not `int'</description>
      <pubDate>Fri, 13 Oct 2006 01:49:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/c-on-hp-ux-11-23/m-p/3879546#M99087</guid>
      <dc:creator>Igor Sovin</dc:creator>
      <dc:date>2006-10-13T01:49:19Z</dc:date>
    </item>
    <item>
      <title>Re: C++ on HP-UX 11.23</title>
      <link>https://community.hpe.com/t5/operating-system-linux/c-on-hp-ux-11-23/m-p/3879547#M99088</link>
      <description>You can take gcc package from &lt;BR /&gt;&lt;A href="http://hpux.cs.utah.edu/" target="_blank"&gt;http://hpux.cs.utah.edu/&lt;/A&gt;&lt;BR /&gt;or &lt;BR /&gt;&lt;A href="http://mirrors.develooper.com/hpux/downloads.html." target="_blank"&gt;http://mirrors.develooper.com/hpux/downloads.html.&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;If gcc can't find iostream.h that means that it is installed incorrectly. The best way is to compile sources from &lt;A href="http://www.gnu.org" target="_blank"&gt;www.gnu.org&lt;/A&gt; and then install them.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 13 Oct 2006 09:37:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/c-on-hp-ux-11-23/m-p/3879547#M99088</guid>
      <dc:creator>Dima_Ru</dc:creator>
      <dc:date>2006-10-13T09:37:08Z</dc:date>
    </item>
    <item>
      <title>Re: C++ on HP-UX 11.23</title>
      <link>https://community.hpe.com/t5/operating-system-linux/c-on-hp-ux-11-23/m-p/3879548#M99089</link>
      <description>&lt;P&gt;You are trying to use an obsolete or bundled C compiler on IPF to compile C++ source.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;gcc compiler couldn't find .h files&lt;BR /&gt;&lt;BR /&gt;The Standard name is &amp;lt;iostream&amp;gt; and not &amp;lt;iostream.h&amp;gt;. For aCC, you need -AA to compile with the Standard. -AP (the default on PA) only takes the &amp;lt;iostream.h&amp;gt; name.&lt;/P&gt;</description>
      <pubDate>Sat, 29 Oct 2011 07:53:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/c-on-hp-ux-11-23/m-p/3879548#M99089</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2011-10-29T07:53:07Z</dc:date>
    </item>
    <item>
      <title>Re: C++ on HP-UX 11.23</title>
      <link>https://community.hpe.com/t5/operating-system-linux/c-on-hp-ux-11-23/m-p/3879549#M99090</link>
      <description>With respect to the GNU compilers, gcc is a C compiler, you should use g++ to compile and link C++ code, not gcc.</description>
      <pubDate>Mon, 16 Oct 2006 15:18:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/c-on-hp-ux-11-23/m-p/3879549#M99090</guid>
      <dc:creator>Steve Ellcey</dc:creator>
      <dc:date>2006-10-16T15:18:18Z</dc:date>
    </item>
    <item>
      <title>Re: C++ on HP-UX 11.23</title>
      <link>https://community.hpe.com/t5/operating-system-linux/c-on-hp-ux-11-23/m-p/3879550#M99091</link>
      <description>Hi Steve!&lt;BR /&gt;&lt;BR /&gt;Where can I download g++ ?</description>
      <pubDate>Wed, 18 Oct 2006 01:55:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/c-on-hp-ux-11-23/m-p/3879550#M99091</guid>
      <dc:creator>Igor Sovin</dc:creator>
      <dc:date>2006-10-18T01:55:16Z</dc:date>
    </item>
    <item>
      <title>Re: C++ on HP-UX 11.23</title>
      <link>https://community.hpe.com/t5/operating-system-linux/c-on-hp-ux-11-23/m-p/3879551#M99092</link>
      <description>You can download a trial version of the C/aC++ compilers from:&lt;BR /&gt;&lt;A href="http://h21007.www2.hp.com/dspp/tech/tech_TechDocumentDetailPage_IDX/1,1701,7863,00.html" target="_blank"&gt;http://h21007.www2.hp.com/dspp/tech/tech_TechDocumentDetailPage_IDX/1,1701,7863,00.html&lt;/A&gt;</description>
      <pubDate>Wed, 18 Oct 2006 01:59:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/c-on-hp-ux-11-23/m-p/3879551#M99092</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2006-10-18T01:59:37Z</dc:date>
    </item>
  </channel>
</rss>

