BY: venu_ DATE: 2007-Aug-15 23:30 SUBJECT: Compiling errorHi I installed avr-binutils from source and that worked properly all I ran was
./configure
make
make install
Now when I try the same thing I'm getting this error:
checking build system type... ./config.guess: unable to guess system type
This script, last modified 2004-03-12, has failed to recognize
the operating system you are using. It is advised that you
download the most up to date version of the config scripts from
ftp://ftp.gnu.org/pub/gnu/config/
If the version you run (./config.guess) is already up to date, please
send the following data and any information you think might be
pertinent to <config-patches@gnu.org> in order to provide the needed
information to handle your system.
config.guess timestamp = 2004-03-12
uname -m = mips
uname -r = 2.4.17_mvl21
uname -s = Linux
uname -v = #5 Fri Aug 3 10:45:06 EST 2007
/usr/bin/uname -p =
/bin/uname -X =
hostinfo =
/bin/universe =
/usr/bin/arch -k =
/bin/arch = mips
/usr/bin/oslevel =
/usr/convex/getsysinfo =
UNAME_MACHINE = mips
UNAME_RELEASE = 2.4.17_mvl21
UNAME_SYSTEM = Linux
UNAME_VERSION = #5 Fri Aug 3 10:45:06 EST 2007
configure: error: cannot guess build type; you must specify one
So I tried
./configure --host=mipsel-pc-linux-gnu
Now I'm sometimes getting the above error and sometimes getting
as: unrecognized option `-mwarn-short-loop'
*** The command 'gcc -o conftest -O2 conftest.c' failed.
*** You must set the environment variable CC to a working compiler.
I don't know if I've done something to the system because programs like jikes which compiled before are now giving me the above errors.
Thanks |