[fpc-devel] Re: Problems with building x86_64 on darwin

Schindler Karl-Michael karl-michael.schindler at web.de
Tue Nov 26 00:53:24 CET 2013


> Date: Mon, 25 Nov 2013 15:33:08 -0600
> From: Andrew Brunner <atbrunner at aurawin.com>
> Subject: Re: [fpc-devel] Problems with building x86_64 on darwin
> Message-ID: <5293C214.9070401 at aurawin.com>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
> 
>> Lazarus cannot yet be compiled for x86-64 on Mac OS X (except if you 
>> compile it for GTK or Qt, possibly). Unless you are editing files that 
>> are larger than 1.5GB, it's unlikely you'd notice any difference either. 
> 
> Ok.  At least I know it's not supported yet.

I had a try with 1.0.14 and with the following command, I can obtain a working version of a GTK2 based lazarus. The gtk2 libs are from fink.

 make all LCL_PLATFORM=gtk2 OPT="-gl -gw  -dHasX -Fl/sw/lib/pango-ft219/lib/ -k-framework -kApplicationServices"

I did not make extensive test, but a minimal example worked. With a different source for gtk2 libs, you may need some adjustments, for example replace /sw by /usr/local.

MiSchi


More information about the fpc-devel mailing list