This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: static lib problem


Hi Guy,

>But what is the problem ???

The problem was that you were using "ld" directly, instead of "gcc".

To see how gcc invoked ld "under the covers", do this...

gcc -v -o Linux/crlf Linux/crlf.o
-L../../libLassiec/Unix/Linux -Wl,-Bstatic -llassiec -lisam -lc_nonshared

HTH,
--Eljay


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]