Re: Switching compilers in Xcode 3.0
Re: Switching compilers in Xcode 3.0
- Subject: Re: Switching compilers in Xcode 3.0
- From: "Justin C. Walker" <email@hidden>
- Date: Mon, 5 Nov 2007 12:07:00 -0800
On Nov 5, 2007, at 11:33 , Rick Ballard wrote:
On Nov 5, 2007, at 11:07 AM, Justin C. Walker wrote:
On Nov 5, 2007, at 10:18 , Rick Ballard wrote:
Xcode no longer ships with a gcc_select tool. To switch
compilers, you'll need to double-click on the target whose
compiler you want to change, go to the "Rules" tab, and select
the compiler you'd like to use.
The only problem now is that my Terminal window doesn't have a
"Rules" tab. What do those of us with a history of GUI rejection do?
That depends on what you're doing that uses gcc, as it sounds like
you're not building via an Xcode project? You should be able to
directly invoke /usr/bin/gcc-3.3 instead of <Developer>/usr/bin/gcc.
I have three typical uses: hacking (whipping up small chunks of C [my
editor is either 'cat' or 'ed' :-}]); open source "projects" that
have all their quirks built-in (usually 'autoconf' nightmares); and
the odd Xcode project, for when I'm feeling energetic and my OCD
takes over.
Mostly, I just want to say "cc" and go :-}, switching when I'm
building for older PowerPCs (which I still use) or when I'm looking
for bugs.
The old (gcc_select) script appears to work on 10.5. I haven't
looked at it in depth, but given its length, I'm surprised that just
saying "/usr/bin/gcc-3.3" will suffice. Is there less to that than
it appears?
Thanks for your help!
Justin
--
Justin C. Walker, Curmudgeon-At-Large
Institute for the Enhancement of the Director's Income
--------
Experience is what you get
when you don't get what you want.
--------
_______________________________________________
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