site_archiver@lists.apple.com Delivered-To: Darwin-dev@lists.apple.com On Jun 28, 2005, at 5:51 PM, damien.cooke@internode.on.net wrote: gcc -o mylib.so -G -Kpic somecode.c What do you expect it to do? The man page says: matt. _______________________________________________ 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 potentially dumb question. Why does -G not work for the apple build of gcc? The following code works for other builds of gcc Is the issue historical? -G num On embedded PowerPC systems, put global and static items less than or equal to num bytes into the small data or bss sections instead of the normal data or bss section. By default, num is 8. The -G num switch is also passed to the linker. All modules should be compiled with the same -G num value. This email sent to site_archiver@lists.apple.com
participants (1)
-
Matt Watson