Hello,
I'm currently trying to port postgresql-7.4.13 to NEXTSTEP 3.3. I got the whole thing compiled and running (but without any tests yet).
I had to disable the "shared libraries" flag, cause I don't know, how to build them on NEXTSTEP. Does anyone know, how I can build a shared lib? On the net, I found infos like "shared libs are not available under NEXTSTEP", but there is /usr/shlib, so they do exist. I'm not very familiar with linking and libraries and the like, so, is there a source I can take a look at?
but they are built completly different than a 'normal' unix install. If anything look at how OSX does it, since its basically the same thing.
FYI try this (from
http://fink.sourceforge.net/doc/porting/shared.php?phpLang=en)
cc -fno-common -c source.c
cc -fno-common -c code.c
cc -dynamiclib -install_name /usr/local/lib/libfoo.2.dylib \
-compatibility_version 2.4 -current_version 2.4.5 \
-o libfoo.2.4.5.dylib source.o code.o
rm -f libfoo.2.dylib libfoo.dylib
ln -s libfoo.2.4.5.dylib libfoo.2.dylib
ln -s libfoo.2.4.5.dylib libfoo.dylib