• 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
Using custom compiler
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Using custom compiler


  • Subject: Using custom compiler
  • From: David Wolstencroft <email@hidden>
  • Date: Tue, 29 Apr 2008 00:44:43 -0700


I've recently had an issue where I need to use a custom build of gcc in order to correctly build .S files (of a certain ISA) in a project. 

Obviously, the first thing that comes to mind is creating a custom build script. Unfortunately this script spans across many targets... but my main question is there any way to directly pipe the arguments that would go to gcc into the custom build script? For example in Target "foo" Info -> Rules

Assembly files using script:
using: Custom script: /usr/local/bin/gcc_custom (insert normal gcc flags here)
With output files ${output_path}/$(INPUT_FILE_BASE].o


Or would I have to write a custom plugin (of which I've seen examples on the web)?

Directly piping in the usual gcc command line parameters would make my life easy, but I suspect this is not the case.

Do I have an easy way out on this one?

Thanks in advance,

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

  • Follow-Ups:
    • Re: Using custom compiler
      • From: "Mark Wagner" <email@hidden>
  • Prev by Date: Re: build 10.3 dynamic library on MAC 10.5 leopard fail
  • Next by Date: Re:Re: *****SPAM***** build 10.3 dynamic library on MAC 10.5 leopard fail
  • Previous by thread: Re: build 10.3 dynamic library on MAC 10.5 leopard fail
  • Next by thread: Re: Using custom compiler
  • Index(es):
    • Date
    • Thread