site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com I build the two object files as such gcc -g -fPIC -c source/lpmalloc.c -o output/lpmalloc.o gcc -g -fPIC -c source/global.c -o output/global.o This is what I get: ld: for architecture ppc ld: Undefined symbols: _printf libtool: internal link edit command failed Damien _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... Sorry for the dumb question. I am porting my malloc to Darwin. I have built it as a shared dynamic library on Solaris. However I am having a large amount of problems with this on OS X 10.4.1 using XCode 2.0 and gcc 4.0 Then I use Libtool as such libtool -dynamic -o bin/liblpmalloc.so output/lpmalloc.o output/global.o I am probably doing something really dumb but any help would be greatly appreciated. This email sent to site_archiver@lists.apple.com