I try to compile my project on a Mac, now.
This is my first Mac experience, so I did not
expect immediate victory.
The project is Java but with native code,
so I require generation of a dynamic shared
gcc -shared is not supported on Mac OS X.
The way to get a dynamic shared library seems
to be by invocation of
libtool -dynamic -o libBLA.dylib BLA.o
(which seems to invoke ld -dylib ....)
- is there another, supported way to get a dynamic
shared library that I overlooked?
- or should somebody (developers, me) add support
for Mac to the gcc driver in that the gcc -shared
command is replaced by the libtool command?