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:
My pleasure - though I haven't finished yet& may run into things.
It seems you're setting up a 32 bit environment. Both my Linux (Debian)
and OSX machine are 64 bit - don't know if this will work.
I've just tried to follow the guide, but seem to run into the same
problem as many other apparently also do:
At global scope:
cc1plus: warning: unrecognized command line option "-Wno-long-doubl
From what I can read on the web this is somehow related to 64-bit vs.
32-bit crosscompile, but I'm not sure how to solve it.
The following resources are an interesting read, but didn't really seem
to get me any further.
http://code.google.com/p/iphone-dev/issues/detail?id=212#makechanges
http://code.google.com/p/iphone-dev/issues/detail?id=14
Neither of the CFLAGS/LDFLAGS options helped me, perhaps someone have
done this succesfully on a Ubuntu 10.04 x86_64 like my system.
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
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
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.
Kind regards,
Torsten Bonde Christiansen.
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal