RE: a question about shared library

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Actually, the problem is probably due to the fact that he is using two
different compilers (g++ and CC) than because he's using Sun's linker.
C++ code compiled with g++ is not compatible with C++ code compiled with
Sun's compilers.  The linker you use can make a difference, but I don't
think that's your problem in this case.

Thanks,
Lyle

-----Original Message-----
From: gcc-help-owner@xxxxxxxxxxx [mailto:gcc-help-owner@xxxxxxxxxxx] On
Behalf Of John Love-Jensen
Sent: Monday, August 16, 2004 5:16 AM
To: webman.li; gcc-help@xxxxxxxxxxx
Subject: Re: a question about shared library

Hi,

>Are libs compiled using g++ can not be linked,using SUN's linker, with
libs &
objs compiled by SUN's CC??

Correct.  Use GNU's binutil's linker "ld".

HTH,
--Eljay



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux