« Return to Thread: Compilation fails with Mac's XCode 4.3

Re: Compilation fails with Mac's XCode 4.3

by Daniel Johnson-9 :: Rate this Message:

| View in Thread


On Mar 6, 2012, at 4:15 AM, Werner LEMBERG wrote:

>
> I've just stumbled across this bug report:
>
>  https://trac.macports.org/ticket/33284
>
> It seems that the proposed fix should be incorporated into the git
> repository.
>
> Just in case you aren't aware of it...
>
>
>    Werner

It's best to use xcode-select -print-path to get the location of the Developer directory rather than hardcoding it. Users are free to put Xcode.app wherever they want.

$ xcode-select -print-path
/Applications/Xcode.app/Contents/Developer

is the default with Xcode 4.3. With 4.2 it's just /Developer. However, you have to check that xcode-select exists first since older Xcodes didn't have it.

Daniel


------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Fontforge-devel mailing list
Fontforge-devel@...
https://lists.sourceforge.net/lists/listinfo/fontforge-devel

 « Return to Thread: Compilation fails with Mac's XCode 4.3