Building GCC 4.2.0 fails on Linux x86-64

Thomas Mittelstaedt T.Mittelstaedt@cadenas.de
Fri May 25 11:57:00 GMT 2007


> See `config.log' for more details.

See this file. See the exact compile line of the test program. Maybe a library could not be found.



Alexander Wieder schrieb:
> Hi!
>
> I tried to build GCC 4.2 (core and g++) on my linux box (Ubuntu 7.04,
> amd64). Except a program-suffix and an install prefix, I used no
> configure options. Building failed with the following messages:
>
>   
>> [...]
>> checking for x86_64-unknown-linux-gnu-gcc... /home/alexx/tmp/gcc-build/./gcc/xgcc -B/home/alexx/tmp/gcc-build/./gcc/ -B/home/alexx/local/gcc/x86_64-unknown-linux-gnu/bin/ -B/home/alexx/local/gcc/x86_64-unknown-linux-gnu/lib/ -isystem /home/alexx/local/gcc/x86_64-unknown-linux-gnu/include -isystem /home/alexx/local/gcc/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-libmudflap] Error 1
>> make[1]: Leaving directory `/home/alexx/tmp/gcc-build'
>> make: *** [all] Error 2
>>     
>
> Has anyone an idea why GCC is obviously unable to produce runnable C
> programs in my configuration?
>
>
> Best regards,
>
> Alexander Wieder
>
>
>   



More information about the Gcc-help mailing list