Hi I am new to this list. I try compiling gcc4.3.0 on mips machine
with the follow command :
../gcc-4.3.0/configure --prefix=/home/lpeng/install/gcc-4.3.0
--target=mipsel-linux --host=mipsel-linux --bui\
ld=mipsel-linux --enable-threads=posix --enable-shared --disable-checking
--with-gmp=/home/lpeng/install/gcc-4.3.\
0/gmp/ --with-mpfr=/home/lpeng/install/gcc-4.3.0/mpfr/ -v
but an error as follow described happened when making gcc :
checking for suffix of object files... configure: error: cannot compute
suffix of object files: cannot compile
See `config.log' for more details.
and I have read config.log ,there are three errors;
1,conftest.c:2: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'me'
2,conftest.cc:13: error: 'exit' was not declared in this scope
3,configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h. */
|
| int
| main ()
| {
| exit (42);
| ;
| return 0;
| }
please help me! thanks!
peng liang