Linking problem , powerPC w/ gcc 3.4.0 c++ program and newlib

KJK::Hyperion noog@libero.it
Tue Jul 27 20:27:00 GMT 2004


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 



More information about the Newlib mailing list