Re: Overriding CC, etc
Re: Overriding CC, etc
- Subject: Re: Overriding CC, etc
- From: "Timothy J. Wood" <email@hidden>
- Date: Wed, 12 Nov 2003 19:40:08 -0800
To answer my own question, this works fine by adding:
<Library>/Application Support/Apple/Developer
Tools/Specifications/Extra.pbcompspec
with something cribbed from the stock one. You can even put variable
references in them!
Bizarrely, this is what I tried before, but it didn't work... dunno
why, but it does now :)
So, uh, yeah! Go Xcode!
My only gripe would be that I'd like to have the pbcompspec (and any
other spec files) in CVS. It would be nice to have an extra directory
to search for spec that could be specified in a preferences pane. It
might even be nice to look inside the .xcode wrapper for spec files...
I'll log a bug :)
-tim
On Nov 8, 2003, at 7:27 PM, Timothy J. Wood wrote:
I have a bug logged that SDKs are powerful enough yet; it doesn't
seem like you can include compilers in an SDK -- I can make a simple
SDK of my own and get it to use headers, but fs_usage leads me to
report that the SDK isn't considered for what to do about the compiler
(/usr/bin/gcc-3.3 is accessed directly w/o looking in my SDK root at
all). If I'm wrong on this, I'd love to hear about it.
So, the next option, which I was using with PB, is to set CC, LD,
LIBTOOL, and such in the build settings to my custom compiler. I
don't see any way to do this in Xcode -- I set CC in a build style
(and various other random names I could think of), but nothing seemed
to take effect. (This is with a native target -- I suppose I could
use a non-native target, but I'd rather not in the long term).
This is a blocker for some work that I'm doing, so if anyone knows
what I'm doing wrong. please let me know.
-tim
_______________________________________________
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.