• 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: Build setting to specify the linker?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Build setting to specify the linker?


  • Subject: Re: Build setting to specify the linker?
  • From: "J.M. Brough" <email@hidden>
  • Date: Fri, 29 Jul 2005 02:39:59 +0100


On 29 Jul 2005, at 01:22, Brant Sears wrote:

I posted a question about pointing the gcc compiler at Bullseye's compiler rather than /usr/bin/gcc. I received some helpful advice from Chris Espinosa to try overrding the CC build setting.

This worked really well for .c files. I was able to find that I needed to also override the CPLUSPLUS build setting so that .cpp and .mm files. Then, there is a link step where it is using g++ during the Link step. I also need to override this and point it at the Bullseye version of g++. Does anyone know the name of the build setting that is used to do this?

Thanks.

I've using -Xlinker,  in the 'Other Linker Flags'.  For example:

-Xlinker -Y -Xlinker 1     which would be equivalent to ld -Y 1

Gives the object file with undefined symbols,as I'm trying to track down a bizarre error regarding '__' undefined symbol.  You must use -Xlinker multiple times based on arguments with spaces etc.  See man gcc for more info.

Cheers,

Jason.



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Build setting to specify the linker? (From: "Brant Sears" <email@hidden>)

  • Prev by Date: Re: Build setting to specify the linker?
  • Next by Date: Subversion over SSH
  • Previous by thread: Re: Build setting to specify the linker?
  • Next by thread: Re: Build setting to specify the linker?
  • Index(es):
    • Date
    • Thread