[dmd-internals] Compiling DMD on Lion with the Xcode 4.3 SDK

Jacob Carlborg doob at me.com
Mon Mar 19 12:52:42 PDT 2012


On 19 mar 2012, at 20:10, Sean Kelly wrote:

> On Mar 18, 2012, at 8:56 AM, Jacob Carlborg wrote:
> 
>> In Xcode 4.3 Apple has replaced the Xcode installer with a regular application to be compatible with app store. This has caused them to move the SDK from /Developer/SDKs/ to /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/
>> 
>> How can this be handled in the DMD makefile?
> 
> The C headers in /usr/include were moved as well, though that isn't a problem if you're just compiling with the built-in GCC or whatever.


I haven't been able to compile DMD because the makefile points to the old location of the SDK. When it tries to link DMD it can't find crt1.o.

This is where the path to the SDK is defined:

https://github.com/D-Programming-Language/dmd/blob/master/src/posix.mak#L40

-- 
/Jacob Carlborg



More information about the dmd-internals mailing list