gcc 4.0.2 on AMD Athlon 64
Kai Ruottu
karuottu@mbnet.fi
Thu Dec 1 11:37:00 GMT 2005
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' !
More information about the Gcc-help
mailing list