Re: Building shared libraries
Re: Building shared libraries
- Subject: Re: Building shared libraries
- From: Matt Watson <email@hidden>
- Date: Tue, 28 Jun 2005 18:19:58 -0700
On Jun 28, 2005, at 5:51 PM, email@hidden wrote:
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
gcc -o mylib.so -G -Kpic somecode.c
Is the issue historical?
What do you expect it to do? The man page says:
-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.
matt.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden