<?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: using the c compiler in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/using-the-c-compiler/m-p/2581869#M856508</link>
    <description>Hi Mark:&lt;BR /&gt;&lt;BR /&gt;You are breaking the rules, the 10.20 code is compatible on 11x but the converse is not true.&lt;BR /&gt;If you have to support both 10.20 and 11x boxes then you must compile on the 10.20 box.&lt;BR /&gt;You should also make certain that you compile with +DAportable so that all the PA-RISC processors are supported if you have to run in in PA-7xxx and PA-8xxx world.&lt;BR /&gt;&lt;BR /&gt;Regards, Clay</description>
    <pubDate>Wed, 19 Sep 2001 17:30:45 GMT</pubDate>
    <dc:creator>A. Clay Stephenson</dc:creator>
    <dc:date>2001-09-19T17:30:45Z</dc:date>
    <item>
      <title>using the c compiler</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/using-the-c-compiler/m-p/2581868#M856507</link>
      <description>there seems to be a small difference between the c compilers on HPUX 10.x and HPUX 11.x.  This difference is causing programs compiled on the newer hp-ux to crash, forcing me to only use the older machines.  Has anyone heard of this, and is there any way to fix it?</description>
      <pubDate>Wed, 19 Sep 2001 17:14:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/using-the-c-compiler/m-p/2581868#M856507</guid>
      <dc:creator>Mark Stewart</dc:creator>
      <dc:date>2001-09-19T17:14:45Z</dc:date>
    </item>
    <item>
      <title>Re: using the c compiler</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/using-the-c-compiler/m-p/2581869#M856508</link>
      <description>Hi Mark:&lt;BR /&gt;&lt;BR /&gt;You are breaking the rules, the 10.20 code is compatible on 11x but the converse is not true.&lt;BR /&gt;If you have to support both 10.20 and 11x boxes then you must compile on the 10.20 box.&lt;BR /&gt;You should also make certain that you compile with +DAportable so that all the PA-RISC processors are supported if you have to run in in PA-7xxx and PA-8xxx world.&lt;BR /&gt;&lt;BR /&gt;Regards, Clay</description>
      <pubDate>Wed, 19 Sep 2001 17:30:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/using-the-c-compiler/m-p/2581869#M856508</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2001-09-19T17:30:45Z</dc:date>
    </item>
    <item>
      <title>Re: using the c compiler</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/using-the-c-compiler/m-p/2581870#M856509</link>
      <description>ok, new part of this problem.  I need to be able to compile this code on one of my newer machines, which it will not do.  I think it won't compile because the newer machines and versions of HP-UX don't have the libraries. Here's the deal - I have to compile on an old hp730(HPUX 10.2 - I think) for it to actually compile.  I then run it on 2240(HPUX 10.2) and 6000(HPUX 11.0) workstations.  I would like to compile on the 2240 machine, but it seems to be missing something.  Any suggestions?</description>
      <pubDate>Thu, 27 Sep 2001 14:38:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/using-the-c-compiler/m-p/2581870#M856509</guid>
      <dc:creator>Mark Stewart</dc:creator>
      <dc:date>2001-09-27T14:38:56Z</dc:date>
    </item>
    <item>
      <title>Re: using the c compiler</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/using-the-c-compiler/m-p/2581871#M856510</link>
      <description>could you copy and paste the errors that you get during failed compile so we can track down which libraries you need.&lt;BR /&gt;&lt;BR /&gt;thanks.</description>
      <pubDate>Thu, 27 Sep 2001 14:50:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/using-the-c-compiler/m-p/2581871#M856510</guid>
      <dc:creator>Edward Alfert_2</dc:creator>
      <dc:date>2001-09-27T14:50:36Z</dc:date>
    </item>
    <item>
      <title>Re: using the c compiler</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/using-the-c-compiler/m-p/2581872#M856511</link>
      <description>Hi Mark:&lt;BR /&gt;&lt;BR /&gt;If I take you at your word, it can't be library errors - that could only affect the linker or executable if using shared libraries. I suspect you are missing header files because your 2nd 10.20 box does not have a development system on it but simply the bundled C compiler which was intended for building kernels but not much more than that.&lt;BR /&gt;&lt;BR /&gt;If you list a few of the errors, I can tell you for sure.&lt;BR /&gt;&lt;BR /&gt;Regards, Clay</description>
      <pubDate>Thu, 27 Sep 2001 14:54:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/using-the-c-compiler/m-p/2581872#M856511</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2001-09-27T14:54:07Z</dc:date>
    </item>
    <item>
      <title>Re: using the c compiler</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/using-the-c-compiler/m-p/2581873#M856512</link>
      <description>I'm actually getting a different error now, but I think that's from a change I made to the makefile.  Here is the error I was getting on the 6000 machine:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;unrecognized HP-UX version: B.11.00 (assuming 10.0 filesystem)&lt;BR /&gt;&lt;BR /&gt;/usr/ccs/bin/ld:Can't find library for -lM&lt;BR /&gt;&lt;BR /&gt;*** Error exit code 1&lt;BR /&gt;&lt;BR /&gt;Stop.&lt;BR /&gt;---------------------------------------------&lt;BR /&gt;on the 2240 machine, it's somewhat different.  the error on it is:&lt;BR /&gt;&lt;BR /&gt;(Bundled) cc: warning 480: The -A option is available only with the C/ANSI C product; ignored.&lt;BR /&gt;(Bundled) cc: warning 480: The -g option is available only with the C/ANSI C product; ignored.&lt;BR /&gt;&lt;BR /&gt;/usr/ccs/bin/ld:Can't find library for -lXm&lt;BR /&gt;&lt;BR /&gt;*** Error exit code 1&lt;BR /&gt;&lt;BR /&gt;Stop.&lt;BR /&gt;---------------------------------------------&lt;BR /&gt;&lt;BR /&gt;Does that help at all?</description>
      <pubDate>Thu, 27 Sep 2001 17:01:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/using-the-c-compiler/m-p/2581873#M856512</guid>
      <dc:creator>Mark Stewart</dc:creator>
      <dc:date>2001-09-27T17:01:58Z</dc:date>
    </item>
    <item>
      <title>Re: using the c compiler</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/using-the-c-compiler/m-p/2581874#M856513</link>
      <description>Hi Mark:&lt;BR /&gt;&lt;BR /&gt;On the first machine, it can't find a library.&lt;BR /&gt;It appears to be looking for /usr/lib/libM.sl or /usr/lib/libM.a unless you hace used the -L cc option to change the linker library search path so that the files need not be in the default /usr/lib directory. However, this also appears to be running 11.00 which is back to your original problem.&lt;BR /&gt;&lt;BR /&gt;-------------------------------------------&lt;BR /&gt;&lt;BR /&gt;The fundamental problem on the 2nd box is that you don't have a development C compiler. It can't find /usr/lib/libXm.sl or /usr/lib/libXm.a.&lt;BR /&gt; &lt;BR /&gt;You need to purchase the ANSI/C compiler.&lt;BR /&gt;&lt;BR /&gt;Clay</description>
      <pubDate>Thu, 27 Sep 2001 17:21:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/using-the-c-compiler/m-p/2581874#M856513</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2001-09-27T17:21:53Z</dc:date>
    </item>
  </channel>
</rss>

