building dynamic libraries with libtool

vkrishnaswamy

Registered
Hello

I'm trying to build a dynamic library (of the form foo.dylib) from a bunch of (C++) object files using libtool. I'm working on Jaguar, and am using g++ v3.1. My libtool options look like
libtool -dynamic -o foo.dylib <bunch of object files>

I seem to have a lot of problems with this, most notably complaints about symbols such as
_exit
_atexit
etc.

Has anyone on this board been able to use libtool successfully in building dynamic libraries from C++ objects on Darwin ? Any experiences to share ?

thanks

venkat
 
Back
Top