[Lazarus] Need suggestion about crosscompile on osx
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
> I get this link :
> 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
> 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...
Size: 496 bytes
Desc: Message signed with OpenPGP using GPGMail
More information about the Lazarus