• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Xcode 7 command line tools
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Xcode 7 command line tools
      • From: Erik Colson <email@hidden>
References: 
 >Xcode 7 command line tools (From: Carl Hoefs <email@hidden>)
 >Re: Xcode 7 command line tools (From: Erik Colson <email@hidden>)
 >Re: Xcode 7 command line tools (From: Jens Alfke <email@hidden>)
 >Re: Xcode 7 command line tools (From: Erik Colson <email@hidden>)
 >Re: Xcode 7 command line tools (From: Marco S Hyman <email@hidden>)

  • Prev by Date: Re: Refactoring a #define definition
  • Next by Date: Re: Xcode 7 command line tools
  • Previous by thread: Re: Xcode 7 command line tools
  • Next by thread: Re: Xcode 7 command line tools
  • Index(es):
    • Date
    • Thread