This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
RE: Link help
- From: "Vardhan, Sundara (GE Infra, Energy)" <sundara dot vardhan at ge dot com>
- To: "John (Eljay) Love-Jensen" <eljay at adobe dot com>, "Brian D. McGrew" <brian at visionpro dot com>
- Cc: <gcc-help at gcc dot gnu dot org>
- Date: Mon, 12 Jan 2009 20:15:18 -0500
- Subject: RE: Link help
- References: <8E460D1B58F94945A20AA70D4D41430D052DEC68@ALPMLVEM08.e2k.ad.ge.com> <C590EFFF.3708C%eljay@adobe.com>
Hi John, Brian
Thanks much for your information. I checked and found that the libraries
are C++ and I had to add /usr/lib/libC.a in AIX and
/usr/lib/libCstd.so.1 for Solaris and it worked fine. Thanks for the
information on the C++ ABI, it was helpful.
With Regards
Vardhan
-----Original Message-----
From: John (Eljay) Love-Jensen [mailto:eljay@adobe.com]
Sent: Monday, January 12, 2009 2:03 PM
To: Vardhan, Sundara (GE Infra, Energy)
Subject: Re: Link help
Hi Vardhan,
I've never has problem linking non-GCC compiled libraries with GCC on
AIX, or GCC on Solaris.
All C compilers on those two respective platforms comply with the
platform ABI.
(Now if you were using C++, that'd be a different story, since their is
no standard C++ ABI.)
Sincerely,
-Eljay
On 1/12/09 12:13 PM, "Vardhan, Sundara (GE Infra, Energy)"
<sundara.vardhan@ge.com> wrote:
Hi All
Is there any way to link a non-gcc compiled library with a gcc compiled
binary? I have a 3rd party software which has been created using native
AIX and Solaris compilers as shared library and archive. I have recently
ported my application to compile and link with GCC on Solars and AIX. I
need to use this 3rd party software to complete to test. Is there any
way I can make this link. Your help will be greatly appreciated.
With Regards
Vardhan
- References:
- Link help
- From: Vardhan, Sundara (GE Infra, Energy)