Re: Question concerning behavior of GNU-linker on Linux
Jorgen Grahn <[email protected]> 24 May 2011 14:41:11 GMT
| Newsgroups | gmane.comp.gnu.utils |
|---|---|
| Message-ID | <[email protected]> |
["Followup-To:" header set to comp.os.linux.development.system.] On Tue, 2011-05-24, Alex Vinokur wrote: > > Hi, > > We came across different behavior of HP-linker on HP-UX and GNU-linker > on Linux. > > We have two libraries: > *) libaaa.so and libbbb.so, > *) libbbb.so depends on libaaa.so. > > HP-UX linker allows to build exe-file as follows: > aCC <options> main.o libbbb.so > > > GNU linker on Linux requires the following build of exe-file > icpc <options> main.o libaaa.so libbbb.so > Note. > Command line > icpc <options> main.o libbbb.so > produces error-message. That's not the Gnu linker, that's an Intel linker. /Jorgen -- // Jorgen Grahn <grahn@ Oo o. . . \X/ snipabacken.se> O o .