This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
gcc 4.0.2 on AMD Athlon 64
- From: VIbhav Garg <vibhtech at gmail dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Wed, 30 Nov 2005 15:34:47 -0600
- Subject: gcc 4.0.2 on AMD Athlon 64
- Reply-to: vibhtech at gmail dot com
Hello,
I am trying to compile gcc-4.0.2 on my amd64 system running linux kernel
2.6.14.
The compilation is failing here
checking for x86_64-unknown-linux-gnu-gcc...
/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
checking for C compiler default output file name... a.out
checking whether the C compiler works... configure: error: cannot run C
compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details.
make[1]: *** [configure-target-libstdc++-v3] Error 1
make[1]: Leaving directory `/home/vgarg/SharedDocs/4995/gcc-obj'
make: *** [bootstrap] Error 2
Can anyone tell me how to fix this ?
Thanks
Vibhav