[fpc-devel] Compiling trunk on OS X

Jonas Maebe jonas.maebe at elis.ugent.be
Sun Feb 2 00:13:13 CET 2014


On 02 Feb 2014, at 00:05, Ewald wrote:

> On 02 Feb 2014, at 00:05, Jonas Maebe wrote:
> 
>> 
>> On 01 Feb 2014, at 23:15, Ewald wrote:
>> 
>>> Anyway, if I can provide anything else, just ask.
>> 
>> FWIW, until this is fixed you can still get a working x86-64 compiler by building it like this:
>> 
>> make CPU_TARGET="x86_64" FPC=ppcx64 CPU_SOURCE=x86_64 all
> 
> Thanks for the pointer!
> 
> Would it be correct to always build the compiler like this for 64-bit targets if a native ppcx64 is available?

Yes, taking into account one minor nitpick: the globally installed ppcx64 on Mac OS X is an i386->x86-64 cross-compiler rather than a native x86-64 compiler. That's why the CPU_SOURCE=x86_64 is required, otherwise the makefiles get confused.


Jonas


More information about the fpc-devel mailing list