This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

configure: error: cannot compute suffix of object files: cannot compile


Hello,

When I am compiling gcc 4.7.1 on Slackware 14, I got an error:
$ ../gcc-4.7.1/configure --prefix=/usr/i686-pc-mingw32 --target=i686-pc-mingw32 --disable-shared --enable-languages=c --disable-nls
$ make
[...]
checking for i686-pc-mingw32-gcc... /home/yugiohjcj/documents/downloads/software/gcc-4.7.1-tmp/./gcc/xgcc -B/home/yugiohjcj/documents/downloads/software/gcc-4.7.1-tmp/./gcc/ -L/home/yugiohjcj/documents/downloads/software/gcc-4.7.1-tmp/i686-pc-mingw32/winsup/mingw -L/home/yugiohjcj/documents/downloads/software/gcc-4.7.1-tmp/i686-pc-mingw32/winsup/w32api/lib -isystem /home/yugiohjcj/documents/downloads/software/gcc-4.7.1/winsup/mingw/include -isystem /home/yugiohjcj/documents/downloads/software/gcc-4.7.1/winsup/w32api/include -B/usr/i686-pc-mingw32/i686-pc-mingw32/bin/ -B/usr/i686-pc-mingw32/i686-pc-mingw32/lib/ -isystem /usr/i686-pc-mingw32/i686-pc-mingw32/include -isystem /usr/i686-pc-mingw32/i686-pc-mingw32/sys-include   
checking for suffix of object files... configure: error: in `/home/yugiohjcj/documents/downloads/software/gcc-4.7.1-tmp/i686-pc-mingw32/libgcc':
configure: error: cannot compute suffix of object files: cannot compile
See `config.log' for more details.
make[1]: *** [configure-target-libgcc] Error 1
make[1]: Leaving directory `/home/yugiohjcj/documents/downloads/software/gcc-4.7.1-tmp'
make: *** [all] Error 2

And this is what I can see in the config.log file:
$ cat config.log | grep error
gcc: error: unrecognized command line option '-V'
gcc: fatal error: no input files
gcc: error: unrecognized command line option '-qversion'
gcc: fatal error: no input files
g++: error: unrecognized command line option '-V'
g++: fatal error: no input files
g++: error: unrecognized command line option '-qversion'
g++: fatal error: no input files
collect2: error: ld returned 1 exit status
| /* Override any GCC internal prototype to avoid an error.
conftest.c:10:19: fatal error: ppl_c.h: No such file or directory
stage2_werror_flag=''
$ cat config.log | grep cannot
/usr/lib/gcc/i486-slackware-linux/4.7.1/../../../../i486-slackware-linux/bin/ld: cannot find -lpwl

Do you see why I got this error ?

Thank you.
Regards.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]