[fpc-pascal] Re: Cross Compiling from Linux to a Mac OS X 10.5 or 10.6 target. How? [SOLVED]

Reinier Olislagers reinierolislagers at gmail.com
Tue Aug 9 15:37:13 CEST 2011


On 9-8-2011 14:29, Torsten Bonde Christiansen wrote:
> On 2011-08-09 12:59, Reinier Olislagers wrote:
>> On 9-8-2011 12:21, Torsten Bonde Christiansen wrote:
>>> On 2011-08-09 10:46, Reinier Olislagers wrote:
>> I've put this on the wiki, don't know if it helps
>> On 64 bit Linux environments, fpc mailing list users have problems.
>> Perhaps this
>> [http://stackoverflow.com/questions/3024255/building-odcctools-in-a-64-bit-os
>>
>> StackOverflow question and answer] can help: in the configure step,
>> you'd apparently need to set
>> CC="gcc -m32" CXX="g++ -m32" ./configure blah blah blah
> You may also put a note that there exists a launchpad ppa for ubuntu,
> then you don't need to compile the binutils yourself (which evidently
> can be a pain in the ...).
> 
> https://launchpad.net/~flosoft/+archive/cross-apple
> <https://launchpad.net/%7Eflosoft/+archive/cross-apple>
> 
> Btw. I got the compilation working on a Ubuntu 11.04 64-bit (within a
> VM), but since my main desktop still runs 10.04 I cannot use the ppa.
> 
Thanks for the hints, but feel free to write it up yourself; I use
Debian, not Ubuntu & haven't tried it...

Regards,
Reinier



More information about the fpc-pascal mailing list