This is the mail archive of the
crossgcc@sources.redhat.com
mailing list for the crossgcc project.
See the CrossGCC FAQ for lots
more information.
bootstrap gcc errors
- From: Bryce Schober <bryceman at dpzone dot com>
- To: crossgcc at sources dot redhat dot com
- Date: Wed, 18 Jun 2003 13:51:45 -0700
- Subject: bootstrap gcc errors
My "make" according to
http://billgatliff.com/twiki/bin/view/Crossgcc/BuildBootstrapGcc failed
miserably.
binutils version 2.14
export TARGET=arm-elf
export PREFIX=/usr/local
The configure cmd (from /usr/local/src/build-bootstrap):
$ ../gcc-3.3/configure --target=$TARGET --prefix=$PREFIX
--without-headers --with-newlib --with-gnu-as --with-gnu-ld \
--with-local-prefix=${PREFIX}/${TARGET} --disable-shared
The errors look like:
creating config.h
<snip>
/usr/local/src/build-bootstrap/gcc/xgcc
-B/usr/local/src/build-bootstrap/gcc/ -B/usr/local/arm-elf/bin/
-B/usr/local/arm
-elf/lib/ -isystem /usr/local/arm-elf/include -c -DHAVE_CONFIG_H -O2 -g
-O2 -I. -I../../../gcc-3.3/libiberty/../include
-W -Wall -Wtraditional -pedantic ../../../gcc-3.3/libiberty/regex.c -o
regex.o
../../../gcc-3.3/libiberty/regex.c:53:25: sys/types.h: No such file or
directory
../../../gcc-3.3/libiberty/regex.c:151:24: string.h: No such file or
directory
In file included from ../../../gcc-3.3/include/xregex.h:26,
from ../../../gcc-3.3/libiberty/regex.c:195:
<snip hundreds of errors>
../../../gcc-3.3/libiberty/regex.c: At top level:
../../../gcc-3.3/libiberty/regex.c:7905: error: storage size of
`re_comp_buf' isn't known
make[1]: *** [regex.o] Error 1
make[1]: Leaving directory
`/usr/local/src/build-bootstrap/arm-elf/libiberty'
make: *** [all-target-libiberty] Error 2
---
[This E-mail scanned for viruses by digiposs.com]
------
Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com