<?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: gnu cc, PIC, +z option etc, shared libs, DLLs in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/gnu-cc-pic-z-option-etc-shared-libs-dlls/m-p/3200008#M714152</link>
    <description>First, don't call them DLL's -- that's a term from another OS. If you do want to make shared libraries then you must compile the objects as position-independent code (PIC); this is not a requirement if you wish to create objects for static libraries.&lt;BR /&gt;</description>
    <pubDate>Mon, 23 Feb 2004 18:10:22 GMT</pubDate>
    <dc:creator>A. Clay Stephenson</dc:creator>
    <dc:date>2004-02-23T18:10:22Z</dc:date>
    <item>
      <title>gnu cc, PIC, +z option etc, shared libs, DLLs</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/gnu-cc-pic-z-option-etc-shared-libs-dlls/m-p/3200007#M714151</link>
      <description>Not being a C guru, is this something I really want to get into? I am trying to build some DLLs, do I need to make PIC objects, .sl libs??&lt;BR /&gt;&lt;BR /&gt;UX 11i, only gnu cc, Eloquence&lt;BR /&gt;TIA,&lt;BR /&gt;Jp</description>
      <pubDate>Mon, 23 Feb 2004 18:05:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/gnu-cc-pic-z-option-etc-shared-libs-dlls/m-p/3200007#M714151</guid>
      <dc:creator>jp</dc:creator>
      <dc:date>2004-02-23T18:05:26Z</dc:date>
    </item>
    <item>
      <title>Re: gnu cc, PIC, +z option etc, shared libs, DLLs</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/gnu-cc-pic-z-option-etc-shared-libs-dlls/m-p/3200008#M714152</link>
      <description>First, don't call them DLL's -- that's a term from another OS. If you do want to make shared libraries then you must compile the objects as position-independent code (PIC); this is not a requirement if you wish to create objects for static libraries.&lt;BR /&gt;</description>
      <pubDate>Mon, 23 Feb 2004 18:10:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/gnu-cc-pic-z-option-etc-shared-libs-dlls/m-p/3200008#M714152</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2004-02-23T18:10:22Z</dc:date>
    </item>
    <item>
      <title>Re: gnu cc, PIC, +z option etc, shared libs, DLLs</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/gnu-cc-pic-z-option-etc-shared-libs-dlls/m-p/3200009#M714153</link>
      <description>And GNU gcc has a wonderful self-explaining option for that: -fpic (equal to +z) or -fPIC (equal to +Z)&lt;BR /&gt;&lt;BR /&gt;# gcc -c -fPIC test.c&lt;BR /&gt;# ld -b -o test.sl test.o&lt;BR /&gt;&lt;BR /&gt;There you have your shared library (briliant extention: .sl :)&lt;BR /&gt;&lt;BR /&gt;Enjoy, Have FUN! H.Merijn</description>
      <pubDate>Mon, 23 Feb 2004 19:50:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/gnu-cc-pic-z-option-etc-shared-libs-dlls/m-p/3200009#M714153</guid>
      <dc:creator>H.Merijn Brand (procura</dc:creator>
      <dc:date>2004-02-23T19:50:32Z</dc:date>
    </item>
  </channel>
</rss>

