This is the mail archive of the
newlib@sources.redhat.com
mailing list for the newlib project.
Re: Linking problem , powerPC w/ gcc 3.4.0 c++ program and newlib
- From: "KJK::Hyperion" <noog at libero dot it>
- To: "Don Russell" <donaldrussell at lucent dot com>
- Cc: newlib at sources dot redhat dot com
- Date: Tue, 27 Jul 2004 18:36:47 +0200
- Subject: Re: Linking problem , powerPC w/ gcc 3.4.0 c++ program and newlib
- References: <003201c47312$aad68e90$0101010a@yy232>
At 15.15 26/07/2004, Don Russell wrote:
Is there a missing switch? Does newlib support C++ ?
The C++ ABI is very compiler-specific. Every compiler (often even different
releases of the same compiler) comes with its own implementation of its own
intrinsic functions, and there's no other option than using those - it
isn't a problem newlib can solve. IIRC, the library that contains those
intrinsics for GCC is -lsupc++: try adding it to your build, cross your
fingers and hope it doesn't pull in yet more libraries