<?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 aCC shared libs with cc in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/using-acc-shared-libs-with-cc/m-p/2990022#M718449</link>
    <description>hi Andy,&lt;BR /&gt;&lt;BR /&gt;Check this link.  This may help to see your problem.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://devrsrc1.external.hp.com/STK/impacts/i121.html" target="_blank"&gt;http://devrsrc1.external.hp.com/STK/impacts/i121.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Umapathy</description>
    <pubDate>Thu, 05 Jun 2003 15:10:47 GMT</pubDate>
    <dc:creator>Umapathy S</dc:creator>
    <dc:date>2003-06-05T15:10:47Z</dc:date>
    <item>
      <title>Using aCC shared libs with cc</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/using-acc-shared-libs-with-cc/m-p/2990021#M718448</link>
      <description>I compiled a simple "hello world" program in C++ using aCC (options -b,+z).  This is a simple shared library that contains a function called hw which displays the string "Hello World."&lt;BR /&gt;&lt;BR /&gt;    If I build a test program using aCC that calls hw and uses my "Hello World" shared library, everything works great.&lt;BR /&gt;&lt;BR /&gt;    If I build a test program that using cc INSTEAD of aCC, I receive the following error message when I try to run it:&lt;BR /&gt;&lt;BR /&gt;    /usr/lib/dld.sl: unresolved symbol __shlinit (code) from ./libhello&lt;BR /&gt;&lt;BR /&gt;Note: I've used an extern "c" on the function hw to prevent name mangling.&lt;BR /&gt;&lt;BR /&gt;   Is it possible to use an aCC shared library from a cc compiled program?  If so, what am I doing wrong?&lt;BR /&gt;&lt;BR /&gt;Thanks, &lt;BR /&gt;&lt;BR /&gt;Andy&lt;BR /&gt;</description>
      <pubDate>Thu, 05 Jun 2003 14:09:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/using-acc-shared-libs-with-cc/m-p/2990021#M718448</guid>
      <dc:creator>Andrew Herrmann</dc:creator>
      <dc:date>2003-06-05T14:09:33Z</dc:date>
    </item>
    <item>
      <title>Re: Using aCC shared libs with cc</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/using-acc-shared-libs-with-cc/m-p/2990022#M718449</link>
      <description>hi Andy,&lt;BR /&gt;&lt;BR /&gt;Check this link.  This may help to see your problem.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://devrsrc1.external.hp.com/STK/impacts/i121.html" target="_blank"&gt;http://devrsrc1.external.hp.com/STK/impacts/i121.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Umapathy</description>
      <pubDate>Thu, 05 Jun 2003 15:10:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/using-acc-shared-libs-with-cc/m-p/2990022#M718449</guid>
      <dc:creator>Umapathy S</dc:creator>
      <dc:date>2003-06-05T15:10:47Z</dc:date>
    </item>
    <item>
      <title>Re: Using aCC shared libs with cc</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/using-acc-shared-libs-with-cc/m-p/2990023#M718450</link>
      <description>An aCC built shared library needs to be linked with the c++&lt;BR /&gt;runtime libraries if it will be used by a program linked without&lt;BR /&gt;aCC.  The details are described in this document (for the&lt;BR /&gt;A.03.37 release of aCC)&lt;BR /&gt;&lt;A href="http://docs.hp.com/hpux/onlinedocs/2213/distributing.htm#distributing" target="_blank"&gt;http://docs.hp.com/hpux/onlinedocs/2213/distributing.htm#distributing&lt;/A&gt;&lt;BR /&gt;You can run "aCC +help" to view the documentation for the release that you have installed.</description>
      <pubDate>Thu, 05 Jun 2003 16:59:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/using-acc-shared-libs-with-cc/m-p/2990023#M718450</guid>
      <dc:creator>Mike Stroyan</dc:creator>
      <dc:date>2003-06-05T16:59:13Z</dc:date>
    </item>
  </channel>
</rss>

