This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
RE: a question about shared library
- From: lrtaylor at micron dot com
- To: <eljay at adobe dot com>, <webman dot li at utstar dot com>, <gcc-help at gcc dot gnu dot org>
- Date: Mon, 16 Aug 2004 10:30:18 -0600
- Subject: RE: a question about shared library
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@gcc.gnu.org [mailto:gcc-help-owner@gcc.gnu.org] On
Behalf Of John Love-Jensen
Sent: Monday, August 16, 2004 5:16 AM
To: webman.li; gcc-help@gcc.gnu.org
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