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]

Re: Can't bootstrap 3.0 with 2.95.3


Jan Dvorak wrote:-

> when bootstraping gcc 3.0, it stops at:
> 
> gcc -c  -DIN_GCC    -g  -W -Wall -Wwrite-strings -Wstrict-prototypes
> -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long  -DHAVE_CONFIG_H
> -I. -I. -I../../gcc/gcc -I../../gcc/gcc/. -I../../gcc/gcc/config
> -I../../gcc/gcc/../include underscore.c -o underscore.o
> underscore.c:0: malformed option `-A system=posix'
> underscore.c:0: malformed option `-A cpu=i386'
> underscore.c:0: malformed option `-A machine=i386'
> make[2]: *** [underscore.o] Error 1
> make[2]: Leaving directory `/dogus2/GCC/OBJ/gcc'
> make[1]: *** [stage1_build] Error 2
> make[1]: Leaving directory `/dogus2/GCC/OBJ/gcc'
> make: *** [bootstrap] Error 2
> 
> Target is i686-linux with glibc 2.2, gcc 2.95.3 built from sources.
> Any ideas ?

This looks very much like a misconfiguration of some kind.  The "-A
foo=bar" syntax is new to GCC 3.0, but by the nature of the way things
work it should only be seen by the result of the stage1 compilation,
i.e. GCC 3.0, and not by your bootstrap compiler.

In other words, somehow you've confused the configury and / or
makefiles into finding the wrong driver.  I cannot really give you any
more advice than that.

Neil.


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