> I have a C++ library that I cannot get to compile (without
> significant modification) w/ Sun's CC compiler. I am however able to
> compile this 3rd party lib using the GNU g++ compiler. All of my other
> libs and applications, I have compiled w/ CC. So, naturally, I want
> to be able to link this particular library w/ my other libs into several
> applications. Should I be able to link these libraries, once compiled,
> with either CC or g++ compiled applications???
> If so, when I try and link both types of libs w/ either compiler I get
> undefined symbol error messages during the link. That is, if lib A was
> compiled w/ g++ and library B was compiled w/ CC, when I link application
> X w/ CC (using -lA -lB), it produces undefined symbols for the functions
> from A. And when I link X w/ g++, I receive similar error messages for
> the functions in B. What do I need to do, to link these libraries
> together into an application?
<URL:http://www.cerfnet.com/~mpcline/On-Line-C++-FAQs/compiler-dependencie...[33.6]>, last time I checked.