Re: Xcode 7 command line tools
Re: Xcode 7 command line tools
- Subject: Re: Xcode 7 command line tools
- From: Jens Alfke <email@hidden>
- Date: Wed, 28 Oct 2015 13:44:50 -0700
> On Oct 28, 2015, at 11:45 AM, Marco S Hyman <email@hidden> wrote:
>
> On Oct 28, 2015, at 1:28 AM, Erik Colson <email@hidden> wrote:
>>
>>
>> i.e. I needed to launch the command to get zlib.h installed in
>> /usr/include.
>
> zlib.h is under /Applications/Xcode.app/Contents/Developer/...
> There are several versions depending upon the SDK bing used.
And the location shouldn’t matter as long as you’re compiling using clang, since the preprocessor search paths are set to look in the right places.
You might run into issues if you install a different compiler, like GCC, and try to build with it. However, on El Capitan I don’t know if even the xcode-select tool is capable of creating a /usr/include directory, since /usr is supposed to be immutable. Instead you might have to configure GCC’s search paths to point at the usr/include inside the SDK.
—Jens
_______________________________________________
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