meino.cra...@gmx.de wrote:
Hi,
it is possible to run a 32-bit binary executable on a 64-bit system
(AMD64).
But: Is it possible to compile source code on a 64-bit system and get
an 32-bit executable a the result ??? And if 'yes'...how???
Thank you very much for any help in advance!
Best regards,
mcc
Hello Meino,
My setup is one 32bit pc with gentoo and another 64bit pc with gentoo
I managed to get this going on the 64bit with a 32-bit chroot, distcc,
and crosstools
Just make sure you compiled your kernel with IA32 binary support (should
be default)
Here are some links:
http://www.gentoo.org/proj/en/base/amd64/howtos/index.xml?part=1&chap=2
http://www.gentoo.org/doc/en/cross-compiling-distcc.xml
http://www.gentoo.org/doc/en/distcc.xml
http://www.gentoo.org/proj/en/base/embedded/handbook/index.xml?part=1&chap=2
Regards,
Coert Waagmeester