Forums
New posts
Articles
Product Reviews
Policies
FAQ
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Menu
Log in
Register
Install the app
Install
Forums
macOS & iOS Developer Playground
macOS - Development and Darwin
Configuring XCode 3.2 to support an alternative compiler
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="ukchucktown" data-source="post: 1211215" data-attributes="member: 129039"><p>Question, is there any reason why you can't use /usr/bin/gcc instead? It's gcc 4.2.</p><p></p><p>I switched to xcode 4 so I'll explain it with version 4. You can always upgrade. The process might be a little different in 3.2, not sure.</p><p></p><p>You can switch the compiler in xcode 4 by going to the Build setting for your target. One of the options is Compiler Version and you can switch it from LLVM compiler 2.0, the default in xcode 4, to gcc 4.2 which will target /usr/bin/gcc.</p><p></p><p>You can also create a project with an External Build System and use make. That will give you full control of the build and you can use whatever you want for compiler but that's a lot more work.</p></blockquote><p></p>
[QUOTE="ukchucktown, post: 1211215, member: 129039"] Question, is there any reason why you can't use /usr/bin/gcc instead? It's gcc 4.2. I switched to xcode 4 so I'll explain it with version 4. You can always upgrade. The process might be a little different in 3.2, not sure. You can switch the compiler in xcode 4 by going to the Build setting for your target. One of the options is Compiler Version and you can switch it from LLVM compiler 2.0, the default in xcode 4, to gcc 4.2 which will target /usr/bin/gcc. You can also create a project with an External Build System and use make. That will give you full control of the build and you can use whatever you want for compiler but that's a lot more work. [/QUOTE]
Verification
Post reply
Forums
macOS & iOS Developer Playground
macOS - Development and Darwin
Configuring XCode 3.2 to support an alternative compiler
Top