error: size of array test is negative

Ian Lance Taylor iant@google.com
Fri Jul 2 14:38:00 GMT 2010


Aaditya kumar <passion.for.systems@gmail.com> writes:

>  I am building gcc-4.5.0 on my centos5.4 machine(x86_64 , with linux
> kernel 2.6.18-128.el5).
> after the "./configure" when I do a "make"

Never run ./configure.  As the installation instructions say, always run
configure in a different, empty, directory.

Running ./configure fails when building multiple target libraries with
different options, and that is what is happening here.

Ian



More information about the Gcc-help mailing list