This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: gcc and Sun's CC link error with C++ code
- From: bjorn rohde jensen <bjensen at fastmail dot fm>
- To: Tory Patnoe <tory dot patnoe at clarent dot com>
- Cc: gcc-help at gcc dot gnu dot org
- Date: Thu, 27 Jun 2002 23:51:25 +0200
- Subject: Re: gcc and Sun's CC link error with C++ code
- References: <3D1B85E7.4010804@clarent.com>
- Reply-to: bjensen at fastmail dot fm
Hi Tory,
You can not in general link object files, libs etc generated
by different compilers. The c++ name mangling schemes also serve
to prevent incompatible code from linking. The linking problem
is a good thing:) Of course it is not so much fun having to
recompile libs...
Yours sincerely,
Bjorn