Am 07.03.2012 10:04, schrieb Graeme Geldenhuys:
On 7 March 2012 10:37, Sven Barth<pascaldragon@*****> wrote:
Graeme, please. You should be around here long enough to already know that.
;)
I hate cross-compiling because it never works for me, or gives very
unstable executable as end result. But I wanted to cross-compile in a
pinch - which clearly is not a good choice.
I normally don't have much problems with cross compiling...
Your fpc is compiled for x86_64 which defaults to calling ppcx64 which can
only compile for x86_64. If you now pass "fpc -i -Pi386" and have a
ppcross386 compiler available in the location fpc looks for then you'll see
I have a ppc386 symlink in the same 'bin' directory as my 64-bit 'fpc'
executable and this is what Lazarus gives me when I changed linking
Target and CPU settings.... I guess there is a big difference between
ppc386 and ppcross386. ;-)
Hmm... according to the source of the fpc binary it should look for
ppc386 as well as ppcross386 in the following directories:
* the directory given by -Xp
* the directory of the fpc binary
* all directories in $PATH
Thanks for responding though... I'm installing FPC from scratch in my
FreeBSD VM now.
That's what I'm here for ;)
Regards,
Sven
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal