On 12/09/2006, at 12:43 AM, x-unix- request at listserver.themacintoshguy.com wrote: >> So I just invoke gcc with the -static option. >> >> $ gcc -static -o program program.c >> > --snip-- > > Well this sort of sucks. It explains why the linker can't get its > greasy > hands on crt0.o... > > Is there any way to get a static binary *at all* under OS X? Why would you want a static binary? It is guaranteed to break at some random time in the future, and almost guaranteed not to run on any computer except the one on which it was built. See http://developer.apple.com/qa/qa2001/qa1118.html Bill Northcott