This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: gcc 4.0.2 on AMD Athlon 64
- From: Kai Ruottu <karuottu at mbnet dot fi>
- To: vibhtech at gmail dot com
- Cc: gcc-help at gcc dot gnu dot org
- Date: Thu, 01 Dec 2005 13:37:01 +0200
- Subject: Re: gcc 4.0.2 on AMD Athlon 64
- References: <438E1AF7.9060100@gmail.com>
- Reply-to: karuottu at mbnet dot fi
VIbhav Garg wrote:
I am trying to compile gcc-4.0.2 on my amd64 system running linux kernel
2.6.14.
The compilation is failing here
/home/vgarg/SharedDocs/4995/gcc-obj/gcc/xgcc
-B/home/vgarg/SharedDocs/4995/gcc-obj/gcc/
-B/home/vgarg/local/bin/x86_64-unknown-linux-gnu/bin/
-B/home/vgarg/local/bin/x86_64-unknown-linux-gnu/lib/ -isystem
/home/vgarg/local/bin/x86_64-unknown-linux-gnu/include -isystem
/home/vgarg/local/bin/x86_64-unknown-linux-gnu/sys-include -m32
As the '-m32' option here tells, the new GCC (.../xgcc ...) tries
to produce some 32-bit stuff...
checking for C compiler default output file name... a.out
checking whether the C compiler works... configure: error: cannot run C
compiled programs.
Maybe it managed to 'link' but somehow cannot 'run' the 32-bit
program...
See `config.log' for more details.
Please do just as the text here tells !!!
make[1]: *** [configure-target-libstdc++-v3] Error 1
make[1]: Leaving directory `/home/vgarg/SharedDocs/4995/gcc-obj'
The directory:
'/home/vgarg/SharedDocs/4995/gcc-obj/x86_64-unknown-linux-gnu/libstdc++-v3'
or one of its subdirs should have the told 'config.log' !