<?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: Trouble compiling c program in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/trouble-compiling-c-program/m-p/4518615#M681395</link>
    <description>Bill,&lt;BR /&gt;&lt;BR /&gt;Also take a look at the release note if you can fid something for W option:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/en/B3901-90031/B3901-90031.pdf" target="_blank"&gt;http://docs.hp.com/en/B3901-90031/B3901-90031.pdf&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Hth,&lt;BR /&gt;Raj.</description>
    <pubDate>Wed, 21 Oct 2009 18:45:23 GMT</pubDate>
    <dc:creator>Raj D.</dc:creator>
    <dc:date>2009-10-21T18:45:23Z</dc:date>
    <item>
      <title>Trouble compiling c program</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/trouble-compiling-c-program/m-p/4518613#M681393</link>
      <description>We are migrating from a 11.11 PA-RISC system to an 11.23 Itanium system.&lt;BR /&gt;&lt;BR /&gt;We have some custom program written in C that we will need to recompile on the Itanium system.&lt;BR /&gt;&lt;BR /&gt;The method to compile these programs on the 11.11 PA-RISC system was&lt;BR /&gt;$  cc  -Wall  program_name.c  -o  program_name&lt;BR /&gt;&lt;BR /&gt;This syntax is not working on our Itanium 11.23 system.&lt;BR /&gt;&lt;BR /&gt;Here is the error I get on the 11.23 Itanium system.&lt;BR /&gt;&lt;BR /&gt;cc: error 1914: bad form for `-W' option&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;The C compiler on the 11.11 PA-RISC system is B.11.11.12 C-ANSI-C Compiler&lt;BR /&gt;&lt;BR /&gt;The C compiler on the 11.23 Itanium system is&lt;BR /&gt;C.06.15 C/aC++ Compiler&lt;BR /&gt;&lt;BR /&gt;I believe it has to due with the new options in the C compiler, but I am looking for some help from you excellent folks on finding a slolution.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Bill</description>
      <pubDate>Wed, 21 Oct 2009 18:09:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/trouble-compiling-c-program/m-p/4518613#M681393</guid>
      <dc:creator>William Pribble</dc:creator>
      <dc:date>2009-10-21T18:09:28Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble compiling c program</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/trouble-compiling-c-program/m-p/4518614#M681394</link>
      <description>Hi Bill:&lt;BR /&gt;&lt;BR /&gt;Have a look at:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/en/14487/options.htm" target="_blank"&gt;http://docs.hp.com/en/14487/options.htm&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Wed, 21 Oct 2009 18:17:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/trouble-compiling-c-program/m-p/4518614#M681394</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2009-10-21T18:17:01Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble compiling c program</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/trouble-compiling-c-program/m-p/4518615#M681395</link>
      <description>Bill,&lt;BR /&gt;&lt;BR /&gt;Also take a look at the release note if you can fid something for W option:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/en/B3901-90031/B3901-90031.pdf" target="_blank"&gt;http://docs.hp.com/en/B3901-90031/B3901-90031.pdf&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Hth,&lt;BR /&gt;Raj.</description>
      <pubDate>Wed, 21 Oct 2009 18:45:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/trouble-compiling-c-program/m-p/4518615#M681395</guid>
      <dc:creator>Raj D.</dc:creator>
      <dc:date>2009-10-21T18:45:23Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble compiling c program</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/trouble-compiling-c-program/m-p/4518616#M681396</link>
      <description>&lt;!--!*#--&gt;&amp;gt; $ cc -Wall program_name.c -o program_name&lt;BR /&gt;&lt;BR /&gt;&amp;gt; The C compiler on the 11.11 PA-RISC system&lt;BR /&gt;&amp;gt; is B.11.11.12 C-ANSI-C Compiler&lt;BR /&gt;&lt;BR /&gt;Really?  "-Wall" sure looks like a GCC&lt;BR /&gt;option.  I'd try to verify which C compiler&lt;BR /&gt;you're actually using.  (Unless "B.11.11.12&lt;BR /&gt;C-ANSI-C Compiler" is more GCC-compatible&lt;BR /&gt;than I'd expect it to be.)&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://gcc.gnu.org/onlinedocs/gcc-4.4.2/gcc/Warning-Options.html" target="_blank"&gt;http://gcc.gnu.org/onlinedocs/gcc-4.4.2/gcc/Warning-Options.html&lt;/A&gt;</description>
      <pubDate>Wed, 21 Oct 2009 19:28:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/trouble-compiling-c-program/m-p/4518616#M681396</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2009-10-21T19:28:43Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble compiling c program</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/trouble-compiling-c-program/m-p/4518617#M681397</link>
      <description>As Steven said, -Wall is an invalid option for HP-UX compilers and valid for GNU.&lt;BR /&gt;&lt;BR /&gt;For Integrity, the closest option is +wlint.&lt;BR /&gt;&lt;BR /&gt;It appears that the PA C compiler incorrectly parses this as: -Wa,l&lt;BR /&gt;Which is ignored unless you are assembling a .s file.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;C.06.15 C/aC++ Compiler&lt;BR /&gt;&lt;BR /&gt;This is obsolete, the latest patch is A.06.23.</description>
      <pubDate>Wed, 21 Oct 2009 23:49:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/trouble-compiling-c-program/m-p/4518617#M681397</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2009-10-21T23:49:20Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble compiling c program</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/trouble-compiling-c-program/m-p/4518618#M681398</link>
      <description>you can also get gcc for hpux itanium if you must use it. ofcourse, it's possible that when you use the correct flags, your program won't compile because each compiler has his dialects (even between gcc versions, although it will mostly manage these).&lt;BR /&gt;&lt;BR /&gt;so in the end, the easiest solution might be to just go for gcc.</description>
      <pubDate>Thu, 22 Oct 2009 05:21:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/trouble-compiling-c-program/m-p/4518618#M681398</guid>
      <dc:creator>dirk dierickx</dc:creator>
      <dc:date>2009-10-22T05:21:38Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble compiling c program</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/trouble-compiling-c-program/m-p/4518619#M681399</link>
      <description>&lt;!--!*#--&gt;&amp;gt; [...] go for gcc.&lt;BR /&gt;&lt;BR /&gt;Certainly, it makes sense to use a command&lt;BR /&gt;which is appropriate for your compiler.  If&lt;BR /&gt;you wish to use the HP compiler, then use a&lt;BR /&gt;command which that compiler understands.  If&lt;BR /&gt;you wish to use a GCC-compatible command,&lt;BR /&gt;then use a compiler which can understand that&lt;BR /&gt;command.  GCC, for example.&lt;BR /&gt;&lt;BR /&gt;The obvious next mystery would be why you're&lt;BR /&gt;using that particular command.  While it may&lt;BR /&gt;have worked better with the older HP&lt;BR /&gt;compiler, it never was really appropriate.</description>
      <pubDate>Thu, 22 Oct 2009 05:32:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/trouble-compiling-c-program/m-p/4518619#M681399</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2009-10-22T05:32:47Z</dc:date>
    </item>
    <item>
      <title>Re: Trouble compiling c program</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/trouble-compiling-c-program/m-p/4518620#M681400</link>
      <description>&amp;gt;Steven: why you're using that particular command.  While it may have worked better with the older HP compiler, it never was really appropriate.&lt;BR /&gt;&lt;BR /&gt;Because the driver didn't give an error?&lt;BR /&gt;Right.  These two are connected.</description>
      <pubDate>Thu, 22 Oct 2009 08:06:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/trouble-compiling-c-program/m-p/4518620#M681400</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2009-10-22T08:06:03Z</dc:date>
    </item>
  </channel>
</rss>

