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

Sean Kelly sean at invisibleduck.org
Tue Mar 20 09:54:43 PDT 2012


I don't have 4.3 installed anywhere. I'll see about putting it in a Lion VM to figure out the fix. 

On Mar 19, 2012, at 12:52 PM, Jacob Carlborg <doob at me.com> wrote:

> 
> 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
> 
> _______________________________________________
> dmd-internals mailing list
> dmd-internals at puremagic.com
> http://lists.puremagic.com/mailman/listinfo/dmd-internals


More information about the dmd-internals mailing list