This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]