This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Problem building gcc-4.2.2 on 64-bit ubuntu linux
Thomas Mittelstaedt wrote:
> Okay, restartet from scratch with the following, but the
I/usr/include/i486-linux-gnu/ would still not propagate.
A 64-bit Linux should have its bi-arch (for 64- and 32-bit) native
headers in fully usual '/usr/include'. So your '-I'
should be totally vain....
> /usr/include/gnu/stubs.h:7:27: error: gnu/stubs-32.h: No such file or
directory
This should come with the optional 32-bit development headers &
libraries, in an install package like:
ftp://ftp.funet.fi/pub/Linux/mirrors/ubuntu/archive/pool/main/g/glibc/libc6-dev-i386_2.7-4ubuntu1_amd64.deb
Just check what your installed glibc version is and then try to find the
missing component for it. Maybe there
is some simple "package installer" in Ubuntu, letting you to choose
something like "32-bit development libraries"
to be installed.