Current RDMD, please?

Walter Bright newshound2 at digitalmars.com
Thu Aug 19 13:17:10 PDT 2010


Michel Fortin wrote:
> On 2010-08-17 15:18:12 -0400, Walter Bright <newshound2 at digitalmars.com> 
> said:
> 
>> (If Apple cared about this, there'd be nothing more than a switch to 
>> g++ along the lines of -osx=10.4 and it'll do whatever is necessary to 
>> build a backward compatible binary.)
> 
> Have you tried -isysroot ?
> 
>     gcc -isysroot /Developer/SDKs/MacOSX10.5.sdk
> 
> Use it both when compiling and linking and you should get something 10.5 
> compatible.


Naw, I needed to set the environment variable MACOSX_DEPLOYMENT_TARGET too. The 
point is, the Apple docs on this are spread out over unconnected
pages and they contradict each other.



More information about the Digitalmars-d mailing list