<?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: libc.a in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/libc-a/m-p/3121509#M717682</link>
    <description>again, if you want to replace it with the shared version, what jacko suggested will work, but you dont need the '-lc' at the end.</description>
    <pubDate>Wed, 19 Nov 2003 09:22:06 GMT</pubDate>
    <dc:creator>ranganath ramachandra</dc:creator>
    <dc:date>2003-11-19T09:22:06Z</dc:date>
    <item>
      <title>libc.a</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/libc-a/m-p/3121503#M717676</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt; I am porting one application from 10.2 to 11i and now i need to get rid of libc.a.&lt;BR /&gt; Can any boidy tell me what other library i should use than libc.a.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;P.S.This thread has been moved from Moved from HP-UX&amp;gt;General &amp;nbsp;to HP-UX&amp;gt; &amp;nbsp;languages- HP Forums Moderator&lt;/P&gt;</description>
      <pubDate>Wed, 02 Jan 2013 03:38:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/libc-a/m-p/3121503#M717676</guid>
      <dc:creator>Yogendra</dc:creator>
      <dc:date>2013-01-02T03:38:31Z</dc:date>
    </item>
    <item>
      <title>Re: libc.a</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/libc-a/m-p/3121504#M717677</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;Why don't you use -lc instead.&lt;BR /&gt;&lt;BR /&gt;Mehdi</description>
      <pubDate>Mon, 17 Nov 2003 17:46:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/libc-a/m-p/3121504#M717677</guid>
      <dc:creator>Mehdi_1</dc:creator>
      <dc:date>2003-11-17T17:46:27Z</dc:date>
    </item>
    <item>
      <title>Re: libc.a</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/libc-a/m-p/3121505#M717678</link>
      <description>HI Yogendra,&lt;BR /&gt;&lt;BR /&gt;you coudl refer to the following documentation&lt;BR /&gt;&lt;BR /&gt;Question&lt;BR /&gt;Some kernel and program files have been changed for HP-UX 11i/SuperDome&lt;BR /&gt;compatibility. If programs that use these files were created in earlier&lt;BR /&gt;versions of HP-UX, do they need to be recompiled?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Answer&lt;BR /&gt;&lt;BR /&gt;Changes were made to certain kernel and program files for the HP-UX 11.10&lt;BR /&gt;technology release specifically to support scalable computing&lt;BR /&gt;architecture (SCA) on the HP V-class SCA servers. However,SCA is not&lt;BR /&gt;supported by the HP-UX 11i release, and all supported V-class systems&lt;BR /&gt;are non-SCA servers that consist of a single "locality domain".&lt;BR /&gt;&lt;BR /&gt;However, programs that include these changed files must be recompiled to&lt;BR /&gt;make use of the new functionality provided by SCA enhancements for HP-UX&lt;BR /&gt;11.10.&lt;BR /&gt;&lt;BR /&gt;For compatibility reasons, the HP-UX 11i release supports the Scalable&lt;BR /&gt;Computing Architecture (SCA) programming, process management, and memory&lt;BR /&gt;management features introduced at HP-UX 11.10. However, these features do&lt;BR /&gt;not provide any potential performance benefits.&lt;BR /&gt;&lt;BR /&gt;The following library, program and kernel files have been modified for&lt;BR /&gt;HP-UX 11i:&lt;BR /&gt;&lt;BR /&gt;Library files:&lt;BR /&gt;&lt;BR /&gt;pthread libraries:  libpthread.1, libpthread.a, libpthread.sl&lt;BR /&gt;crash dump libraries:  libcrash.2, libcrash.sl&lt;BR /&gt;libc libraries:  libc.a, libc.sl&lt;BR /&gt;&lt;BR /&gt;Kernel files:&lt;BR /&gt;&lt;BR /&gt;/usr/conf/gen/mapfile&lt;BR /&gt;/usr.conf/master.d/core-hpux&lt;BR /&gt;/usr/conf/wsio/eisa_cdio.h&lt;BR /&gt;&lt;BR /&gt;Program (header) files:&lt;BR /&gt;&lt;BR /&gt;/usr/include/sys/mpctl.h -- mpctl () system call support&lt;BR /&gt;/usr/include/sys/mmapl.h -- mmapl () system call support&lt;BR /&gt;/usr/include/sys/ipcl.h  -- shmget () system call support&lt;BR /&gt;/usr/include/sys/pstat.h -- pstat () system call support&lt;BR /&gt;/usr/include/sys/unistd.h -- sysconf () system call support&lt;BR /&gt;&lt;BR /&gt;Refer to the following online manual pages for information on updates to&lt;BR /&gt;these header files:&lt;BR /&gt;  mpctl(2), mmap(2), shmget(2), pstat(2), sysconf(2)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;May you find it useful! &lt;BR /&gt;&lt;BR /&gt;cheers...&lt;BR /&gt;</description>
      <pubDate>Tue, 18 Nov 2003 02:31:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/libc-a/m-p/3121505#M717678</guid>
      <dc:creator>Jacko_3</dc:creator>
      <dc:date>2003-11-18T02:31:58Z</dc:date>
    </item>
    <item>
      <title>Re: libc.a</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/libc-a/m-p/3121506#M717679</link>
      <description>HI further my testing another workaround would  be to:&lt;BR /&gt;&lt;BR /&gt;aCC    -g -Wl,-a,archive test.c  -lsec  -Wl,-a,shared -lc&lt;BR /&gt;&lt;BR /&gt;hope thats helps</description>
      <pubDate>Tue, 18 Nov 2003 02:39:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/libc-a/m-p/3121506#M717679</guid>
      <dc:creator>Jacko_3</dc:creator>
      <dc:date>2003-11-18T02:39:55Z</dc:date>
    </item>
    <item>
      <title>Re: libc.a</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/libc-a/m-p/3121507#M717680</link>
      <description>if you link with cc you don't need to add any&lt;BR /&gt;-lc option, it will be made automatically.&lt;BR /&gt;&lt;BR /&gt;Moreover it is dangerous to specify -lc when linking with cc. For instance, if you specify&lt;BR /&gt;-lc -lpthread in that order, you will have some&lt;BR /&gt;side effect on gethostbyname() which will return an error with h_errno=0.&lt;BR /&gt;&lt;BR /&gt;In the case you need to specify it on the link line, be sure that -lc is the last library in the list&lt;BR /&gt;</description>
      <pubDate>Tue, 18 Nov 2003 08:08:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/libc-a/m-p/3121507#M717680</guid>
      <dc:creator>Laurent Menase</dc:creator>
      <dc:date>2003-11-18T08:08:20Z</dc:date>
    </item>
    <item>
      <title>Re: libc.a</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/libc-a/m-p/3121508#M717681</link>
      <description>first, why do you want to get rid of libc.a ?&lt;BR /&gt;&lt;BR /&gt;i dont think there is a replacement for libc.a other than libc.sl, the shared version of the same library.&lt;BR /&gt;&lt;BR /&gt;is it because you want to use the shared version ? if so see if you are forcing an archived link. you can consider linking shared instead.&lt;BR /&gt;&lt;BR /&gt;if you do want an otherwise archived link, i think you will have to take care of this at the link line. if your build script does not explictly use the linker you will have to change it to do so and replace -lc or libc.a with -l:libc.sl in the link line.&lt;BR /&gt;&lt;BR /&gt;(am i missing something ?)</description>
      <pubDate>Tue, 18 Nov 2003 10:34:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/libc-a/m-p/3121508#M717681</guid>
      <dc:creator>ranganath ramachandra</dc:creator>
      <dc:date>2003-11-18T10:34:27Z</dc:date>
    </item>
    <item>
      <title>Re: libc.a</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/libc-a/m-p/3121509#M717682</link>
      <description>again, if you want to replace it with the shared version, what jacko suggested will work, but you dont need the '-lc' at the end.</description>
      <pubDate>Wed, 19 Nov 2003 09:22:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/libc-a/m-p/3121509#M717682</guid>
      <dc:creator>ranganath ramachandra</dc:creator>
      <dc:date>2003-11-19T09:22:06Z</dc:date>
    </item>
  </channel>
</rss>

