Add a custom compiler to XCode 3.2
Posted
by racha
on Stack Overflow
See other posts from Stack Overflow
or by racha
Published on 2009-12-21T17:35:00Z
Indexed on
2010/04/17
19:03 UTC
Read the original article
Hit count: 442
I have a working gcc 4.3.3 toolchain for an ARM Cortex-m3 and would like to integrate it into XCode.
Is there a way to set up XCode (3.2) to use this gcc toolchain instead of the built-in GCC 4.2?
What I've tried so far:
I've added a modified copy of the GCC 4.2.xcplugin
and changed the name, version and executable path. It shows up in XCode but whenever I set the "C/C++ Compiler Version" to the custom compiler it fails with
Invalid value '4.3.3' for GCC_VERSION
It seems like the valid version numbers are hardcoded somewhere else because even when I remove the original GCC 4.2.xcplugin
, the value 4.2
remains valid (but is not visible in the "C/C++ Compiler Version" drop down anymore).
© Stack Overflow or respective owner