In article <[email protected]>, Gilad Rom <[email protected]> wrote: > Hello, > > For the past week, I've been trying to build world, in order to > get then new egcs up and running. > > Everytime I try to make world, I get the following: > > ===> cc_tools > cc -O > -I/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/egcs/gcc/objc > -I/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/egcs/gcc > -I/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/egcs/gcc/config > -DFREEBSD_NATIVE -DDEFAULT_TARGET_VERSION=\"egcs-2.91.66\" > -DDEFAULT_TARGET_MACHINE=\"i386-unknown-freebsd\" > -I/usr/src/gnu/usr.bin/cc/cc_tools/../cc_tools > -I/usr/src/gnu/usr.bin/cc/cc_tools/../cc_tools -c > /usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/egcs/gcc/gengenrtl.c > > In file included from > /usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/egcs/gcc/config/i386/xm-i386.h:43, > from > /usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/egcs/gcc/hconfig.h:2, > from > /usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/egcs/gcc/gengenrtl.c:22: > /usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/egcs/gcc/tm.h:3: > linux.h: No such file or directory > /usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/egcs/gcc/tm.h:4: > i386/freebsd-elf.h: No such file or directory > *** Error code 1
Your sources are unclean. The files "hconfig.h" and "tm.h" should not exist in "src/contrib/egcs/gcc". You must have run ./configure in there at some point (don't do that). I recommend that you delete "src/contrib/egcs" and fetch a fresh copy of it. Or, if there is a Makefile in there too, you could try running "make distclean" to see if that solves the problem. John -- John Polstra [email protected] John D. Polstra & Co., Inc. Seattle, Washington USA "Self-interest is the aphrodisiac of belief." -- James V. DeLong To Unsubscribe: send mail to [email protected] with "unsubscribe freebsd-current" in the body of the message
