Problem s GCC

oldfrog na volny.cz oldfrog na volny.cz
Neděle Březen 30 00:23:31 CET 2003


>
>
>./configure
>loading cache ./config.cache
>checking for gcc... gcc
>checking whether the C compiler (gcc  ) works... no
>configure: error: installation or configuration problem: C compiler
>cannot create executables.
>
>Zkusil jsem GCC preinstalovat, ale problem je porad stejnej .... :-/
>
1) neni mi jasne, co prekladate, zdali nejaky program nebo samotne gcc...
2) v obou pripadech bude soubor "config.log" obsahovat neco jako:

configure:551: checking host system type
configure:572: checking for supported operating system
configure:608: checking for supported architecture
configure:686: checking for gcc
configure:799: checking whether the C compiler (gcc -D_GNU_SOURCE -O3 ) work
configure:815: gcc -o conftest -D_GNU_SOURCE -march=i686 -O3   
conftest.c  1>&5
configure: failed program was:

#line 810 "configure"
#include "confdefs.h"

main(){return(0);}

Vy si pak muzete "failed program" zkusit prelozit sam pomoci zde napriklad

# gcc -o conftest -D_GNU_SOURCE -march=i686 -O3   conftest.c

a zjistit tak pricinu.

S pozdravem
OldFrog.



Další informace o konferenci Linux