Add custom compiler in Xcode?

Aya Koshigaya <[email protected]>
Newsgroups gmane.comp.macosx.devel
Message-ID <[email protected]>
Hi,

I have a target for a simple C - Command line tool.
It's working fine, but I'd like to use a special version of gcc to compile it.

I installed the GCC (v4.3.2) and can compile my sources via command line and makefile without any problems.

But, can I somehow tell Xcode to use this gcc to compile the sources?
If I just change the GCC_VERSION in the Build-Settings of my target, I always end up with error messages telling me "invalid value 4.3.2 for GCC_VERSION".

In the terminal I can use this gcc via:
gcc-432

If I put this to the GCC_VERSION, I get the same error.. ("Invalid value gcc-432 ... ")

Any ideas?

Aya~
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.