Re: 'cc' is not an accessible executable?
Re: 'cc' is not an accessible executable?
- Subject: Re: 'cc' is not an accessible executable?
- From: Trenton Schulz <email@hidden>
- Date: Mon, 29 Dec 2003 21:14:49 +0100
On Dec 29, 2003, at 6:14 PM, David Miller wrote:
Yes, it did, thanks! :) I added a "CC" property to each of the build
styles with a value of "/usr/bin/cc" and that fixed it.
Why that worked without that in Xcode 1.0.1 I dunno (or it may be an
application launching thing with 10.3.2, that upgrade happened in the
same
time frame - maybe the OS doesn't let GUI apps inherit the PATH
anymore).
It's a new feature, from the 1.1 release notes:
The native build system looks at the CC and CPLUSPLUS flags when
determining the path of the compiler for C/Objective-C and
C++/Objective-C++ files, respectively. It also looks at LD and
LDPLUSPLUS when linking. If any of these build settings are defined,
they override the compiler and linker paths that would otherwise have
been chosen. This is done for compatibility with Project Builder and
with common makefiles.
It's a good thing, I guess.
-- Trenton
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.