On Tuesday 09 November 2010, meino.cra...@gmx.de wrote:
Hi,
it is possible to run a 32-bit binary executable on a 64-bit system
(AMD64).
yes, if you use the multilib profile.
But: Is it possible to compile source code on a 64-bit system and get
an 32-bit executable a the result ??? And
Enrico Weigelt wrote:
* Coert Waagmeester lgro...@waagmeester.co.za wrote:
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
Why do you need an 32bit chroot if you're going to use an
Coert Waagmeester lgro...@waagmeester.co.za [10-11-10 18:40]:
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
* meino.cra...@gmx.de meino.cra...@gmx.de wrote:
Is there a toolchain already setup for cross-compiling 32-bit
executables on a AMD64 system, or do I have to do all that cross-
compiling magic by myself ?
crosstool-ng
If you want a build system for crosscompiling, you might like
to look at
* meino.cra...@gmx.de meino.cra...@gmx.de wrote:
gr...@kraken ~ $ gcc -o a.out.64 test.c
gr...@kraken ~ $ gcc -m32 -o a.out.32 test.c
gr...@kraken ~ $ file a.out.*
a.out.32: ELF 32-bit LSB executable, Intel 80386, version 1
(GNU/Linux), dynamically linked (uses shared libs), for
* Coert Waagmeester lgro...@waagmeester.co.za wrote:
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
Why do you need an 32bit chroot if you're going to use an
crosscompiler anyways ?
On 9. 11. 2010 18:25, meino.cra...@gmx.de wrote:
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???
I think that is what cross-compilation is good for...
Jarry
--
2010/11/9 meino.cra...@gmx.de:
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???
gr...@kraken ~ $ cat test.c
void main() {}
Jarry mr.ja...@gmail.com [10-11-09 18:36]:
On 9. 11. 2010 18:25, meino.cra...@gmx.de wrote:
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???
I think that is what cross-compilation is good for...
Jarry
--
Maciej Grela maciej.gr...@gmail.com [10-11-09 18:40]:
2010/11/9 meino.cra...@gmx.de:
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
Maciej Grela maciej.gr...@gmail.com [10-11-09 18:40]:
2010/11/9 meino.cra...@gmx.de:
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
Crosstools
On Nov 9, 2010 12:39 PM, meino.cra...@gmx.de wrote:
Jarry mr.ja...@gmail.com [10-11-09 18:36]:
On 9. 11. 2010 18:25, meino.cra...@gmx.de wrote:
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???
I
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
13 matches
Mail list logo