<?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: Need +n option for aC++ as linker in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/need-n-option-for-ac-as-linker/m-p/4029731#M93791</link>
    <description>Besides using -Wl,+n as Clay says, you can also order your archive libs, or repeat them.</description>
    <pubDate>Fri, 29 Jun 2007 21:33:48 GMT</pubDate>
    <dc:creator>Dennis Handly</dc:creator>
    <dc:date>2007-06-29T21:33:48Z</dc:date>
    <item>
      <title>Need +n option for aC++ as linker</title>
      <link>https://community.hpe.com/t5/operating-system-linux/need-n-option-for-ac-as-linker/m-p/4029729#M93789</link>
      <description>HP_UX 11.00&lt;BR /&gt;aC++ A.03.30&lt;BR /&gt;&lt;BR /&gt;Using aCC as linker and I'm getting uresolved externals that are there.  I get the same error messages as when I run ld WITHOUT the +n option.&lt;BR /&gt;&lt;BR /&gt;+n    Causes the linker to load all object modules before searching any archive or shared libraries. Then it searches the archive and shared libraries specified on the command line in left to right order. Repeats the left to right search of the libraries on the command line until there are no more unsatisfied symbols, or the last search added no new definitions. This option is useful if two libraries are specified that have symbol dependencies on each other.&lt;BR /&gt;&lt;BR /&gt;So I need a +n for aCC or a way for aCC to pass the +n to ld when it calls it.&lt;BR /&gt;&lt;BR /&gt;aCC: warning 901: unknown option: `+n': use +help for online documentation.&lt;BR /&gt;aCC: warning 901: unknown option: `-umain': use +help for online documentation.&lt;BR /&gt;/usr/ccs/bin/ld: Unsatisfied symbols:&lt;BR /&gt;   blkvwl (first referenced in /vobs/HP-UX_stage/lib/libxxxlib.a(xxx_iiucom.o)) (code)&lt;BR /&gt;   mcpexp (first referenced in /vobs/HP-UX_stage/lib/libxxxlib.a(xxx_v1mcpe.o)) (code)&lt;BR /&gt;&lt;BR /&gt;and many many many more.&lt;BR /&gt;&lt;BR /&gt;TIA&lt;BR /&gt;</description>
      <pubDate>Fri, 29 Jun 2007 20:31:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/need-n-option-for-ac-as-linker/m-p/4029729#M93789</guid>
      <dc:creator>Kevin Normandy</dc:creator>
      <dc:date>2007-06-29T20:31:10Z</dc:date>
    </item>
    <item>
      <title>Re: Need +n option for aC++ as linker</title>
      <link>https://community.hpe.com/t5/operating-system-linux/need-n-option-for-ac-as-linker/m-p/4029730#M93790</link>
      <description>Do a man aCC and have a look at the -Wx,arg1,arg2 option that hands off options to the various stages of the compiler/linker. Of course, you could break your makefile so that a separate link phase is used but&lt;BR /&gt;&lt;BR /&gt;aCC -Wl,+n ... will send the +n option to ld.</description>
      <pubDate>Fri, 29 Jun 2007 21:01:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/need-n-option-for-ac-as-linker/m-p/4029730#M93790</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2007-06-29T21:01:58Z</dc:date>
    </item>
    <item>
      <title>Re: Need +n option for aC++ as linker</title>
      <link>https://community.hpe.com/t5/operating-system-linux/need-n-option-for-ac-as-linker/m-p/4029731#M93791</link>
      <description>Besides using -Wl,+n as Clay says, you can also order your archive libs, or repeat them.</description>
      <pubDate>Fri, 29 Jun 2007 21:33:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/need-n-option-for-ac-as-linker/m-p/4029731#M93791</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-06-29T21:33:48Z</dc:date>
    </item>
  </channel>
</rss>

