Link help
Vardhan, Sundara (GE Infra, Energy)
sundara.vardhan@ge.com
Tue Jan 13 01:16:00 GMT 2009
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
More information about the Gcc-help
mailing list