This is the mail archive of the gcc@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]

Re: some compile problem about gcc-2.95.3


zouqiong kirjoitti:

.../../gcc-2.95.3/configure --prefix=/opt/gcc --target=mipsel-linux
--enable-languages=c --disable-checking -enable-shared -v;

This is not true at all !!!!


-B=/opt/gcc-2.95//mipsel-linux/bin/
-I=/opt/gcc-2.95//mipsel-linux/include

Because these rows tell that a '--prefix=/opt/gcc-2.95/' was used !!!!


as: unrecognized option `-O2'

The assembler, 'as', was tried to be used from the chosen
'$prefix/$target/bin', here '/opt/gcc-2.95//mipsel-linux/bin/', but not found from it.


i am surprised about it.

I'm not... Using different $prefix values in the binutils configure and the GCC configure is a quite common newbie mistake... Maybe because some people really believe GCC being a human being and therefore having the '$target-as' and '$target-ld' being in PATH being enough... The opsys will find them when a human being uses them, so also GCC must find them or how?

 Those who have opened the GCC manual or tried the '-print-search-dirs'
option with GCC, don't believ anything like that...


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