<?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: Error message when attempting to test gcc in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/error-message-when-attempting-to-test-gcc/m-p/5688965#M638232</link>
    <description>&lt;P&gt;Hi Dennis,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was able to solve this issue by creating the following symbolic link:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ln -s /usr/pa20_32/lib/libgcc.a /usr/lib/libgcc.a&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the advice on missing the libgcc.&lt;/P&gt;</description>
    <pubDate>Wed, 13 Jun 2012 14:30:37 GMT</pubDate>
    <dc:creator>mr_s29</dc:creator>
    <dc:date>2012-06-13T14:30:37Z</dc:date>
    <item>
      <title>Error message when attempting to test gcc</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-message-when-attempting-to-test-gcc/m-p/5688207#M638229</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I added gcc 2.95.3 to an HP-UX 10.20 32-bit machine ( I do realize that HP-UX 10.20 is old but we need to keep this system because of some clients).&amp;nbsp; I created a hello.c test file in my /test directory.&amp;nbsp; I then attempted to test the gcc with the following command:&amp;nbsp; gcc /test/hello.c -o /test/hello.exe&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The error message below was output:&lt;/P&gt;&lt;P&gt;/usr/ccs/bin/ld:&amp;nbsp; Can't find library for -lgcc&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am not sure how to resolve this issue.&amp;nbsp; Any help would be appreciated.&amp;nbsp; Thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jun 2012 20:29:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-message-when-attempting-to-test-gcc/m-p/5688207#M638229</guid>
      <dc:creator>mr_s29</dc:creator>
      <dc:date>2012-06-12T20:29:14Z</dc:date>
    </item>
    <item>
      <title>Re: Error message when attempting to test gcc</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-message-when-attempting-to-test-gcc/m-p/5688253#M638230</link>
      <description>&lt;P&gt;&amp;gt;I am not sure how to resolve this issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When was the last time this worked?&amp;nbsp; It seems you are missing libgcc.*.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jun 2012 22:29:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-message-when-attempting-to-test-gcc/m-p/5688253#M638230</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2012-06-12T22:29:36Z</dc:date>
    </item>
    <item>
      <title>Re: Error message when attempting to test gcc</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-message-when-attempting-to-test-gcc/m-p/5688891#M638231</link>
      <description>&lt;P&gt;Hi Dennis&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for replying.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To answer your question, I just installed the both the OS and gcc on this machine a few weeks ago so gcc has never worked on this machine before.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I do have libgcc.a under /usr/pa20_32/lib.&amp;nbsp; I tried adding both /usr/pa20_32/lib and /usr/pa20_32/lib/libgcc.a to /etc/PATH.&amp;nbsp; I then tried testing gcc again but got the same error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Jun 2012 13:34:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-message-when-attempting-to-test-gcc/m-p/5688891#M638231</guid>
      <dc:creator>mr_s29</dc:creator>
      <dc:date>2012-06-13T13:34:48Z</dc:date>
    </item>
    <item>
      <title>Re: Error message when attempting to test gcc</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-message-when-attempting-to-test-gcc/m-p/5688965#M638232</link>
      <description>&lt;P&gt;Hi Dennis,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was able to solve this issue by creating the following symbolic link:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ln -s /usr/pa20_32/lib/libgcc.a /usr/lib/libgcc.a&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the advice on missing the libgcc.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Jun 2012 14:30:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-message-when-attempting-to-test-gcc/m-p/5688965#M638232</guid>
      <dc:creator>mr_s29</dc:creator>
      <dc:date>2012-06-13T14:30:37Z</dc:date>
    </item>
    <item>
      <title>Re: Error message when attempting to test gcc</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-message-when-attempting-to-test-gcc/m-p/5689493#M638233</link>
      <description>&lt;P&gt;&amp;gt;/etc/PATH&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This contains paths to binaries, not libs.&amp;nbsp; ld(1) uses LPATH for that.&amp;nbsp; Or add -L path on the link line.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;gt;by creating the following symbolic link:&amp;nbsp; ln -s /usr/pa20_32/lib/libgcc.a&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That's strange, I thought /usr/pa20_32/lib/ would only be for HP products and for performance, not gcc.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Jun 2012 00:53:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-message-when-attempting-to-test-gcc/m-p/5689493#M638233</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2012-06-14T00:53:01Z</dc:date>
    </item>
  </channel>
</rss>

