Building gcc 4.1.2 - gengtype can't find files

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dear All,

I'm trying to build gcc 4.1.2 on Mac OSX 10.4 and I get an error:
gcc   -g -O2  -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -pedantic -Wno-long-long -Wno-variadic-macros
-Wold-style-definition -Wmissing-format-attribute    -DHAVE_CONFIG_H
-DGENERATOR_FILE  -o build/gengtype \
build/gengtype.o build/gengtype-lex.o build/gengtype-yacc.o \
build/errors.o ../build-i386-apple-darwin8.8.1/libiberty/libiberty.a
build/gengtype
./input.h: No such file or directory
make[2]: *** [s-gtype] Error 1
make[1]: *** [all-gcc] Error 2
make: *** [all] Error 2

My machine type is i386-apple-darwin8.8.1, and the gcc already
installed is gcc version 4.0.1 (Apple Computer, Inc. build 5367), make
is GNU Make 3.80

My directories are set up like this
iMac:~/gnuproject peterhull$ tar -jxf ~/Desktop/gcc-4.1.2.tar.bz2
iMac:~/gnuproject peterhull$ mkdir build
iMac:~/gnuproject peterhull$ cd build
iMac:~/gnuproject/build peterhull$ ../gcc-4.1.2/configure && make

I've looked on Google and this ML but I can't find anything related.
It looks like gengtype is looking in the wrong place, as input.h is
present, it's in ./gcc-4.1.2/gcc/

Can anyone help?

Thanks,

Peter

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux