• 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
Custom Linker with Xcode?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Custom Linker with Xcode?


  • Subject: Custom Linker with Xcode?
  • From: Salman Khilji <email@hidden>
  • Date: Thu, 11 Aug 2011 04:56:14 -0700

Now that I sorta know how to specify my own compiler with Xcode 4.1 by writing a new xcplugin under:

/PrivatePlugIns/Xcode3Core.ideplugin/Contents/SharedSupport/Developer/Library/Xcode/Plug-ins/

I would like ti know how to specify my own custom linker with Xcode.  When I create a new compiler spec, it appears in the UI for me to choose from in the "Compiler for C/C++/Objective-C" field.  However, it looks like Xcode does not let you choose which linker you want to use.  The linker spec is in:

/Developer/Library/Xcode/PrivatePlugIns/Xcode3Core.ideplugin/Contents/SharedSupport/Developer/Library/Xcode/Plug-ins/CoreBuildTasks.xcplugin/Contents/Resources/Ld.xcspec

And it has the following line:

    IsAbstract = Yes;       // This is an internal tool, so we keep it out of the user interface

It does not seem to make a difference whether I change the "Yes" to a "No".

My gcc toolchain targets embedded Linux and does not support -arch, -F, and several other options that are specified in Ld.xcspec, and, therefore, I would like to control by writing my own spec file.  The linking fails and complains about unknown options.

Salman _______________________________________________
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

  • Prev by Date: Re: Opening localized nibs in 4.1?
  • Next by Date: 32-Bit Universal versus Standard 32/64-bit Universal
  • Previous by thread: Re: Why did all the iOS 4.x SDKs disappear?
  • Next by thread: 32-Bit Universal versus Standard 32/64-bit Universal
  • Index(es):
    • Date
    • Thread