This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Building GCC 4.9 biarch (i686+x86_64) on Debian 6.0 i686
- From: Alex Blekhman <a dot tinsmith at gmail dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Wed, 18 Mar 2015 22:40:10 +0000 (UTC)
- Subject: Re: Building GCC 4.9 biarch (i686+x86_64) on Debian 6.0 i686
- Authentication-results: sourceware.org; auth=none
- References: <loom dot 20150318T070327-942 at post dot gmane dot org> <55094572 dot 8000402 at redhat dot com> <loom dot 20150318T115826-290 at post dot gmane dot org> <55096526 dot 2000709 at redhat dot com> <55096626 dot 9010408 at redhat dot com> <loom dot 20150318T125059-812 at post dot gmane dot org> <550977B9 dot 7090607 at wippies dot com>
Kai Ruottu <kai.ruottu <at> wippies.com> writes:
> I think that the 32-bit Linux distros don't support
> "native" compiling to 64-bit at all because one
> cannot run the 64-bit binaries on 32-bit hosts.
They actually do. I have Linux Mint 17 i386 (Ubuntu 14.04) on other
machine and all I needed to do is to install
GCC 4.9.2 + multilib packages. Now I can successfully build 64-bit
binaries by using `-m64' switch. I cannot run
them on the machine, of course, but building is OK.
Alex