<?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 Re: HP 64-bit ANSI C Compiler in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-64-bit-ansi-c-compiler/m-p/3433208#M779743</link>
    <description>A very easy check is:&lt;BR /&gt;&lt;BR /&gt;cc -Aa bogusfile.c&lt;BR /&gt;&lt;BR /&gt;If you are running the Bundled compiler, you will get a warning that the -A option is only available with the ANSI C compiler (in addition to the warning that file bogusfile.c is not found). You wuill get the file not found error with either compiler.</description>
    <pubDate>Thu, 15 Jun 2006 14:20:45 GMT</pubDate>
    <dc:creator>A. Clay Stephenson</dc:creator>
    <dc:date>2006-06-15T14:20:45Z</dc:date>
    <item>
      <title>HP 64-bit ANSI C Compiler</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-64-bit-ansi-c-compiler/m-p/3433200#M779735</link>
      <description>Hi.&lt;BR /&gt;&lt;BR /&gt;We just reinstalled HPUX11.00 64bit Kernel and found out we dont have the ANSI C compiler after install.  Does this compiler come with the HPUX CDs or is it a separate product that we need to obtain?&lt;BR /&gt;&lt;BR /&gt;Free? No? Any help will be very much appreciated. &lt;BR /&gt;&lt;BR /&gt;Thanks!</description>
      <pubDate>Tue, 30 Nov 2004 11:27:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hp-64-bit-ansi-c-compiler/m-p/3433200#M779735</guid>
      <dc:creator>Nino Guba</dc:creator>
      <dc:date>2004-11-30T11:27:08Z</dc:date>
    </item>
    <item>
      <title>Re: HP 64-bit ANSI C Compiler</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-64-bit-ansi-c-compiler/m-p/3433201#M779736</link>
      <description>Ansi C compiler is a codeword protected add in product.&lt;BR /&gt;&lt;BR /&gt;It's probably on the Core OS Cd&lt;BR /&gt;&lt;BR /&gt;Its definitely on the Application CD&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;You can buy it online or perhaps from a reseller.&lt;BR /&gt;&lt;A href="http://software.hp.com/portal/swdepot/displayProductInfo.do?productNumber=B3899BA" target="_blank"&gt;http://software.hp.com/portal/swdepot/displayProductInfo.do?productNumber=B3899BA&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Tue, 30 Nov 2004 11:30:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hp-64-bit-ansi-c-compiler/m-p/3433201#M779736</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2004-11-30T11:30:16Z</dc:date>
    </item>
    <item>
      <title>Re: HP 64-bit ANSI C Compiler</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-64-bit-ansi-c-compiler/m-p/3433202#M779737</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;ANSI C compiler isn't bundled with HPUX 11.00 and as far as i know it required a licence.&lt;BR /&gt;The gnu gcc compiler is free and works well on hpux...&lt;BR /&gt;&lt;BR /&gt;Stf ;-)</description>
      <pubDate>Tue, 30 Nov 2004 11:31:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hp-64-bit-ansi-c-compiler/m-p/3433202#M779737</guid>
      <dc:creator>Stf</dc:creator>
      <dc:date>2004-11-30T11:31:11Z</dc:date>
    </item>
    <item>
      <title>Re: HP 64-bit ANSI C Compiler</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-64-bit-ansi-c-compiler/m-p/3433203#M779738</link>
      <description>The only compiler that comes with HP-UX is the Bundled C compiler. It does not speak ANSI and is really only intended for building kernels. You need to purchase either ANSI/C or aCC. ANSI/C speaks ANSI and K&amp;amp;R C. aCC speaks ANSI/C and C++. Both of these must be purchased from HP. They are on any Applications CD set but you will need a codeword from HP to unlock/install them.&lt;BR /&gt;&lt;BR /&gt;Your other option is gcc available from any of the HP-UX Porting Centre's for free.&lt;BR /&gt;</description>
      <pubDate>Tue, 30 Nov 2004 11:31:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hp-64-bit-ansi-c-compiler/m-p/3433203#M779738</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2004-11-30T11:31:39Z</dc:date>
    </item>
    <item>
      <title>Re: HP 64-bit ANSI C Compiler</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-64-bit-ansi-c-compiler/m-p/3433204#M779739</link>
      <description>Thanks for all the replies.&lt;BR /&gt;&lt;BR /&gt;I believe we specifically need the ANSI/C. We know about gcc but we definitely need the ANSI/C for the stuff we need to do.&lt;BR /&gt;&lt;BR /&gt;Ok you mentioned about a codeword. We actually have the ANSI/C compiler loaded on our 32-bit HPUX11 and it is working fine.  Is it possible to obtain this codeword from there?&lt;BR /&gt;&lt;BR /&gt;As far as we know, we lost the CD or any material that lets us install the ANSI/C compiler. Too bad.</description>
      <pubDate>Tue, 30 Nov 2004 11:40:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hp-64-bit-ansi-c-compiler/m-p/3433204#M779739</guid>
      <dc:creator>Nino Guba</dc:creator>
      <dc:date>2004-11-30T11:40:17Z</dc:date>
    </item>
    <item>
      <title>Re: HP 64-bit ANSI C Compiler</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-64-bit-ansi-c-compiler/m-p/3433205#M779740</link>
      <description>Sorry that dog won't hunt. The codeword is specific to a Part No. - a particular CD set. If you are under a support agreement, you can transfer the license and request a new codeword.</description>
      <pubDate>Tue, 30 Nov 2004 11:44:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hp-64-bit-ansi-c-compiler/m-p/3433205#M779740</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2004-11-30T11:44:53Z</dc:date>
    </item>
    <item>
      <title>Re: HP 64-bit ANSI C Compiler</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-64-bit-ansi-c-compiler/m-p/3433206#M779741</link>
      <description>I should point out that your 32-bit HP-UX 11x box is perfectly capable of producing 64-bit code eventhough it won't be able to execute it. Simply compile your code using the "+DD64" option on your 32-bit box and then transfer the executable to your 64-bit box.&lt;BR /&gt;&lt;BR /&gt;This does assume that your 32-bit box and your 64-bit boxes are both 11.0; 11.11 code will not run on (reliably) 11.0.&lt;BR /&gt;&lt;BR /&gt;If you can find your application CD's AND you do a swremove of ANSI/C from your 32-bit box so that you have only a single version of the compiler installed AND the two machines are of equal tier --- I'm getting all the licensing ducks in a row --- then you should be able to find your codewords under /var/adm/sw. on yoiur 32-bit box. If you need to run ANSI/C on both boxes then you will have to purchase another license.&lt;BR /&gt;</description>
      <pubDate>Tue, 30 Nov 2004 12:33:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hp-64-bit-ansi-c-compiler/m-p/3433206#M779741</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2004-11-30T12:33:48Z</dc:date>
    </item>
    <item>
      <title>Re: HP 64-bit ANSI C Compiler</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-64-bit-ansi-c-compiler/m-p/3433207#M779742</link>
      <description>How can I tell the HPUX 11.11 system to not use it default braindead C compiler /usr/bin/cc but instead use gcc version 4.1.1?&lt;BR /&gt;&lt;BR /&gt;I manually edited the Makefile to point CC=/usr/local/bin/gcc but I get the errors below:&lt;BR /&gt;&lt;BR /&gt;Do I need an ANSI C compiler?&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;Please advise!&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;Thank you&lt;BR /&gt;&lt;BR /&gt;Derek&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;As root:&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;# make&lt;BR /&gt;&lt;BR /&gt;Manifying ../blib/man3/Proc::ProcessTable::Process.3&lt;BR /&gt;&lt;BR /&gt;       /usr/local/bin/gcc -c    -D_POSIX_C_SOURCE=199506L -D_REENTRANT -Ae -D_H&lt;BR /&gt;&lt;BR /&gt;PUX_SOURCE -Wl,+vnocompatwarnings -DNO_HASH_SEED -D_LARGEFILE_SOURCE -D_FILE_OFF&lt;BR /&gt;&lt;BR /&gt;SET_BITS=64 -fast +Onolimit +Opromote_indirect_calls +DAportable +DS2.0    -DVER&lt;BR /&gt;&lt;BR /&gt;SION=\"0.40\"  -DXS_VERSION=\"0.40\" +Z "-I/opt/perl/lib/5.8.2/PA-RISC1.1-thread&lt;BR /&gt;&lt;BR /&gt;-multi/CORE"   ProcessTable.c&lt;BR /&gt;&lt;BR /&gt;gcc: +Onolimit: No such file or directory&lt;BR /&gt;&lt;BR /&gt;gcc: +Opromote_indirect_calls: No such file or directory&lt;BR /&gt;&lt;BR /&gt;gcc: +DAportable: No such file or directory&lt;BR /&gt;&lt;BR /&gt;gcc: +DS2.0: No such file or directory&lt;BR /&gt;&lt;BR /&gt;gcc: +Z: No such file or directory&lt;BR /&gt;&lt;BR /&gt;cc1: error: unrecognized command line option "-fast"&lt;BR /&gt;&lt;BR /&gt;*** Error exit code 1&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;Here is my cc version info:&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;# cc -V -v derek.c junk&lt;BR /&gt;&lt;BR /&gt;(Bundled) cc: NLSPATH is /usr/lib/nls/msg/%L/%N.cat:/usr/lib/nls/msg/C/%N.cat:&lt;BR /&gt;&lt;BR /&gt;(Bundled) cc: CCOPTS is not set.&lt;BR /&gt;&lt;BR /&gt;(Bundled) cc: INCLUDIR is INCLUDIR=/usr/include&lt;BR /&gt;&lt;BR /&gt;/usr/ccs/lbin/cpp derek.c /var/tmp/ctmAAAa01455 -$ -D__hp9000s800 -D__hppa -D__h&lt;BR /&gt;&lt;BR /&gt;pux -D__unix -V -D_ILP32 -D_PA_RISC2_0 -D__CLASSIC_C__ -j&lt;BR /&gt;&lt;BR /&gt;(Bundled) cc: Entering Preprocessor.&lt;BR /&gt;&lt;BR /&gt;cpp: HP92453-01 B.11.11.02 HP C (Bundled) Preprocessor&lt;BR /&gt;&lt;BR /&gt;/usr/ccs/lbin/ccom /var/tmp/ctmAAAa01455 derek.o -Fderek.c -V&lt;BR /&gt;&lt;BR /&gt;ccom: HP92453-01 A.11.01.21 HP C (Bundled) Compiler&lt;BR /&gt;&lt;BR /&gt;(Bundled) cc: "derek.c", line 1: warning 501: Empty source file.&lt;BR /&gt;&lt;BR /&gt;(Bundled) cc: LPATH is /usr/lib:/opt/langtools/lib:&lt;BR /&gt;&lt;BR /&gt;/usr/ccs/bin/ld /usr/ccs/lib/crt0.o -u main -V derek.o junk -lc&lt;BR /&gt;&lt;BR /&gt;(Bundled) cc: Entering Link editor.&lt;BR /&gt;&lt;BR /&gt;/usr/ccs/bin/ld: 92453-07 linker linker ld B.11.40 040530&lt;BR /&gt;&lt;BR /&gt;/usr/ccs/bin/ld: Can't open junk&lt;BR /&gt;&lt;BR /&gt;/usr/ccs/bin/ld: No such file or directory&lt;BR /&gt;</description>
      <pubDate>Thu, 15 Jun 2006 14:10:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hp-64-bit-ansi-c-compiler/m-p/3433207#M779742</guid>
      <dc:creator>derek b smith_1</dc:creator>
      <dc:date>2006-06-15T14:10:29Z</dc:date>
    </item>
    <item>
      <title>Re: HP 64-bit ANSI C Compiler</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-64-bit-ansi-c-compiler/m-p/3433208#M779743</link>
      <description>A very easy check is:&lt;BR /&gt;&lt;BR /&gt;cc -Aa bogusfile.c&lt;BR /&gt;&lt;BR /&gt;If you are running the Bundled compiler, you will get a warning that the -A option is only available with the ANSI C compiler (in addition to the warning that file bogusfile.c is not found). You wuill get the file not found error with either compiler.</description>
      <pubDate>Thu, 15 Jun 2006 14:20:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hp-64-bit-ansi-c-compiler/m-p/3433208#M779743</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2006-06-15T14:20:45Z</dc:date>
    </item>
    <item>
      <title>Re: HP 64-bit ANSI C Compiler</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hp-64-bit-ansi-c-compiler/m-p/3433209#M779744</link>
      <description>I should have read your post a bit more. The options for the Gnu C Compiler (gcc) (at least most of them) do not match those of the ANSI/C compiler of aCC (the C++ / ANSI/C compiler). You will need to modify your makefile to use the options appropriate to gcc.</description>
      <pubDate>Thu, 15 Jun 2006 14:24:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hp-64-bit-ansi-c-compiler/m-p/3433209#M779744</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2006-06-15T14:24:07Z</dc:date>
    </item>
  </channel>
</rss>

