X
xwasp
Guest
On OS X 10.3.9, I can create shared objects using the
following commands:
However, on any version of OS X 10.4, this fails with a linker
error:
Any ideas?
following commands:
Code:
cc -fPIC -c -o file1.o file1.c
cc -fPIC -c -o file2.o file2.c
cc -fPIC -c -o file3.o file3.c
libtool -dynamic -o libfile.dylib file1.o file2.o file3.o -lc
However, on any version of OS X 10.4, this fails with a linker
error:
Code:
ld: for architecture ppc
ld: Undefined symbols:
_printf$LDBLStub
libtool: internal link edit command failed
Any ideas?