[Lazarus] Need suggestion about crosscompile on osx

Schindler Karl-Michael karl-michael.schindler at web.de
Sat Feb 21 12:18:38 CET 2015

Am 21.02.2015 um 12:00 schrieb lazarus-request at lists.lazarus.freepascal.org:

> Message: 3
> Date: Sat, 21 Feb 2015 11:32:32 +0200
> From: FreeMan <freeman35 at delphiturkiye.com>
> Subject: [Lazarus] Need suggestion about crosscompile on osx
> To: Lazarus mail list <Lazarus at lists.lazarus.freepascal.org>
> Message-ID: <54E850B0.3020307 at delphiturkiye.com>
> Content-Type: text/plain; charset=utf-8; format=flowed
> Hello,
> I get this link : 
> http://wiki.lazarus.freepascal.org/Cross_compiling#From_Darwin_to_Windows.2C_Linux_and_others
> but info is from fink port and directly intall it self. maybe not 
> important but its install fpc 2.6.4. I'm using svn version so I need to 
> built that my self.
> I need from osx to fpc-cross-x86-64-linux, fpc-cross-i386-wince
> this is my fpc-cross compile for win64 command lines, no need binutil
>   make clean all install OS_TARGET=win64 CPU_TARGET=x86_64
>   make crossinstall OS_TARGET=win64 CPU_TARGET=x86_64
> and this link about bin utils, How to built binutils from source
> http://wiki.lazarus.freepascal.org/Binutils
> I need suggestion, how to combine with svn versions?
> Thank you

I am the maintainer of the fink packages and would suggest the following:

1) Use the fink packages for the corresponding binutils. If there are problems or you need another version, I will see, what i can do.

In order to build cross compilers from the recent svn version, you have to take 3 steps.

1) Install the freepascal 32bit, version 2.6.4, either disk images or fink. You need ppc386.
2) Using this version, build the current version of ppc386 from the svn version.
3) Use the current version to build your cross compilers.

If you have difficulties with the details of the corresponding commands, ask. For interactive help i suggest the IRC channel #fpc on irc.freenode.net.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 496 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20150221/fcdcfb9f/attachment-0001.sig>

More information about the Lazarus mailing list