• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Building shared libraries
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Building shared libraries (From: "email@hidden" <email@hidden>)

  • Prev by Date: Re: ICMP Router Discovery
  • Next by Date: Re: ICMP Router Discovery
  • Previous by thread: Building shared libraries
  • Next by thread: time outs error while connecting to opensouce cvs
  • Index(es):
    • Date
    • Thread