<?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: create a library linking code in C and C++ in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/create-a-library-linking-code-in-c-and-c/m-p/4044932#M94102</link>
    <description>&lt;!-- !*# --&gt;&lt;P&gt;&amp;gt;but for cc I cannot find anything&lt;BR /&gt;&lt;BR /&gt;You want to create a shared lib with just C source? You look at the linker documentation. You can either use cc -b or ld -b.&lt;BR /&gt;&lt;BR /&gt;If you are mixing C and aC++, you link with aCC -b.&lt;BR /&gt;&lt;BR /&gt;comlib.o:comlib.c comlib.h&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $(CC) -c +z comlib.c&lt;/P&gt;</description>
    <pubDate>Sun, 25 Sep 2011 21:04:09 GMT</pubDate>
    <dc:creator>Dennis Handly</dc:creator>
    <dc:date>2011-09-25T21:04:09Z</dc:date>
    <item>
      <title>create a library linking code in C and C++</title>
      <link>https://community.hpe.com/t5/operating-system-linux/create-a-library-linking-code-in-c-and-c/m-p/4044931#M94101</link>
      <description>in aCC i have found the options for aCC in the HP docs , but for cc i cannot find anything&lt;BR /&gt;&lt;BR /&gt;comlib.o:comlib.c comlib.h&lt;BR /&gt;       cc ??? "non tengo puta idea"&lt;BR /&gt;&lt;BR /&gt;libcommon.o: libcommon.cc libcommon.h&lt;BR /&gt; aCC -Aa -c +z  libcommon.cc&lt;BR /&gt; cp *.o ../../../obj/&lt;BR /&gt; rm *.o&lt;BR /&gt; &lt;BR /&gt;library:libcommon.o&lt;BR /&gt; aCC -b -o libcommon.so ../../../obj/libcommon.o&lt;BR /&gt; cp libcommon.so ../../../lib/&lt;BR /&gt; rm libcommon.so&lt;BR /&gt;&lt;BR /&gt;thanks</description>
      <pubDate>Fri, 27 Jul 2007 04:27:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/create-a-library-linking-code-in-c-and-c/m-p/4044931#M94101</guid>
      <dc:creator>Pedro Dinis</dc:creator>
      <dc:date>2007-07-27T04:27:51Z</dc:date>
    </item>
    <item>
      <title>Re: create a library linking code in C and C++</title>
      <link>https://community.hpe.com/t5/operating-system-linux/create-a-library-linking-code-in-c-and-c/m-p/4044932#M94102</link>
      <description>&lt;!-- !*# --&gt;&lt;P&gt;&amp;gt;but for cc I cannot find anything&lt;BR /&gt;&lt;BR /&gt;You want to create a shared lib with just C source? You look at the linker documentation. You can either use cc -b or ld -b.&lt;BR /&gt;&lt;BR /&gt;If you are mixing C and aC++, you link with aCC -b.&lt;BR /&gt;&lt;BR /&gt;comlib.o:comlib.c comlib.h&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $(CC) -c +z comlib.c&lt;/P&gt;</description>
      <pubDate>Sun, 25 Sep 2011 21:04:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/create-a-library-linking-code-in-c-and-c/m-p/4044932#M94102</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2011-09-25T21:04:09Z</dc:date>
    </item>
  </channel>
</rss>

