Building GCC 4.9 biarch (i686+x86_64) on Debian 6.0 i686

Jonathan Wakely jwakely.gcc@gmail.com
Wed Mar 18 14:42:00 GMT 2015


On 18 March 2015 at 11:58, Alex Blekhman wrote:
> I can live with 64-bit system, which has 64-bit GCC. What is essential for
> me is that I can build both 32-bit and 64-bit targets and then run 32-bit
> targets (during test phase of the build).
>
> How difficult (easy?) is it to have 64-bit Debian/Redhat machine running
> 32-bit executables?

As Andrew says, that way round is completely trivial, and is enabled
by default on x86_64 GNU/Linux.

The minimum requirement is just to have the 32-bit pieces of glibc,
see https://gcc.gnu.org/wiki/FAQ#gnu_stubs-32.h



More information about the Gcc-help mailing list