This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: An error occured when building gcc4.3.0
- From: Andrew Haley <aph at redhat dot com>
- To: pengliang at ict dot ac dot cn
- Cc: "gcc-help at gcc dot gnu dot org" <gcc-help at gcc dot gnu dot org>
- Date: Mon, 17 Mar 2008 10:29:07 +0000
- Subject: Re: An error occured when building gcc4.3.0
- References: <4090.10.3.0.46.1205748545.squirrel@webmail.ict.ac.cn>
Redirected to gcc-help.
pengliang@ict.ac.cn wrote:
> 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.
It seems that your system's C compiler is borked. Can you compile
trivial C programs?
Andrew.