• 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
Help with custom build rule
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Help with custom build rule


  • Subject: Help with custom build rule
  • From: "Brant Sears" <email@hidden>
  • Date: Wed, 27 Jul 2005 18:18:10 -0700
  • Thread-topic: Help with custom build rule

Title: Help with custom build rule

I'm using XCode 1.5. What is the easist way to create a custom build rule for my target for C source files that will have the effect of calling:

<my path>/gcc-3.3

instead of:
/usr/bin/gcc-3.3

when compiling my project? Is there an example script somewhere or some file that XCode uses to decide that gcc is located at /usr/bin/gcc-3.3 ? What's the easiest way to redirect it to a different path?

I tried to get it to work, but I'm not a super-expert at shell scripting and I couldn't figure out what exactly XCode is feeding to GCC or exactly how.

The reason I ask is that I want to use a tool called Bullseye coverage. They use faked up versions of GCC (gcc, gcc-3.3, g++, etc.) that requires the real ones to still be at /usr/bin/. Their recommended solution involves creating make files or custom build scripts for everything which is a real hassle.


 _______________________________________________
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: Help with custom build rule
      • From: Chris Espinosa <email@hidden>
  • Prev by Date: Re: Garbage collection in XCode 2.1, and Cocoa
  • Next by Date: Re: Per Architecture SDK and frameworks problem
  • Previous by thread: Re: Per Architecture SDK and frameworks problem
  • Next by thread: Re: Help with custom build rule
  • Index(es):
    • Date
    • Thread