|
|||||||
|
|
|
![]() |
|
|
Strumenti |
|
|
#1 |
|
Junior Member
Iscritto dal: Aug 2008
Messaggi: 7
|
problemi compilazione gcc
salve....
se non vi spiace passo subito al mio problema: sono alle prese con linux from scratch ma ho subito incontrato dei problemi con la compilazione di gcc-4.1.2.. lavoro da una mandriva 2008 attualmente. vi posto l'output della shell e i log: Codice:
lfs:/mnt/lfs/sources/gcc-build$ $LFS/sources/gcc-4.1.2/configure --prefix=/tools --with-local-prefix=/tools --enable-clocale=gnu --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-languages=c,c++ --disable-libstdcxx-pch loading cache ./config.cache checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu checking build system type... i686-pc-linux-gnu checking for a BSD compatible install... /usr/bin/install -c checking whether ln works... yes checking whether ln -s works... yes checking for gcc... gcc checking whether the C compiler (gcc ) works... no configure: error: installation or configuration problem: C compiler cannot create executables. Codice:
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
configure:600: checking host system type
configure:621: checking target system type
configure:639: checking build system type
configure:694: checking for a BSD compatible install
configure:747: checking whether ln works
configure:771: checking whether ln -s works
configure:1825: checking for gcc
configure:1938: checking whether the C compiler (gcc ) works
configure:1954: gcc -o conftest conftest.c 1>&5
/tools/bin/ld: unrecognized option '--hash-style=gnu'
/tools/bin/ld: use the --help option for usage information
collect2: ld returned 1 exit status
configure: failed program was:
#line 1949 "configure"
#include "confdefs.h"
main(){return(0);}
ringrazio in anticipo |
|
|
|
|
|
#2 |
|
Senior Member
Iscritto dal: Feb 2006
Città: Parma
Messaggi: 3010
|
Se non sbaglio quell'errore è correlato alla mancanza di make o di libc6-dev.
|
|
|
|
|
|
#3 |
|
Junior Member
Iscritto dal: Aug 2008
Messaggi: 7
|
|
|
|
|
|
|
#4 |
|
Senior Member
Iscritto dal: Dec 2000
Messaggi: 1187
|
Non conosco assolutamente LFS, ma li` l'errore viene dato da ld quindi il pacchetto responsabile di solito e` le binutils.
|
|
|
|
|
| Strumenti | |
|
|
Tutti gli orari sono GMT +1. Ora sono le: 04:27.




















