Re: Header Search Paths
Re: Header Search Paths
- Subject: Re: Header Search Paths
- From: Eric Zylstra <email@hidden>
- Date: Mon, 23 Feb 2004 23:45:21 -0600
On Feb 23, 2004, at 11:33 PM, Heath Raftery wrote:
Hi Randy,
On 24/02/2004, at 2:06 PM, Randy Croucher wrote:
I want my includes to come before the system includes. But I don't
know how the system includes are even being searched. How do I put
my "Header Search Paths" in front of /usr/include? Who told it to
even search /usr/include?
The answers are hidden deep with the gcc man page. gcc (or in Apple's
case, cc), the GNU C compiler, is what XCode uses to compile your
application with the headers it uses. You can read its manual page by
typing "man gcc" in a Terminal window. The parts relevant to your
query are here:
Well, actually...
> ls -l /usr/bin/cc
lrwxr-xr-x 1 root wheel 7 12 Nov 18:07 /usr/bin/cc -> gcc-3.3
cc is just a link to gcc-3.3
EZ
<snip>
Heath
--
____________________________________________________
| Heath Raftery |
| email@hidden |
| *A mind all logic is like a knife all blade - |
| it makes the hand bleed that uses it.* |
| - Rabindranath Tagore _\|/_ |
|_______________________________________m(. .)m______|
_______________________________________________
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.
_______________________________________________
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.