This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Link problems


Hi Jarmo,

 You can not in general crosslink object code generated by
different compilers. You should use one and only one
compiler to create an application. One does usually not
have to rebuild the system C libraries, but C++ libs etc
definitely should be.
 The unresolved symbols are probably due to different
name mangling schemes employed by gcc-2.96, which is not
actually an official gcc release, and gcc-3.0.4. This is
done to protect users from linking incompatible object
files to create applications with spectacularly odd behaviour,
such as random core dumps despite code correctness and so on.

Yours sincerely,

Bjorn


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]