[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Question concerning behavior of GNU-linker on Linux
From: |
Jorgen Grahn |
Subject: |
Re: Question concerning behavior of GNU-linker on Linux |
Date: |
24 May 2011 14:41:11 GMT |
User-agent: |
slrn/pre1.0.0-18 (Linux) |
["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 .