This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
problem with genattr on i386-pc-linux-gnulibc
- To: egcs <egcs at cygnus dot com>
- Subject: problem with genattr on i386-pc-linux-gnulibc
- From: "Matthew D. Langston" <langston at SLAC dot Stanford dot EDU>
- Date: Wed, 03 Dec 1997 11:19:55 -0800
- Organization: Stanford Linear Accelerator Center
- Reply-to: langston at SLAC dot Stanford dot EDU
I received the following error when building egcs-1.0
on a PentiumII running vanilla RedHat 4.2 Linux.
*** Begin error message ***
stage1/xgcc -Bstage1/ -DIN_GCC -O2 -g -O2 -DHAVE_CONFIG_H -o genattr \
genattr.o rtl.o ` case "obstack.o" in ?*) echo obstack.o ;; esac ` ` case "" in ?*) echo ;; esac ` ` case "" in ?*) echo ;; esac `
./genattr ./config/i386/i386.md > tmp-attr.h
/bin/sh: ./genattr: No such file or directory
make[2]: *** [stamp-attr] Error 126
make[2]: Leaving directory `/home/work/projects/rpm/BUILD/egcs-1.0/gcc'
make[1]: *** [bootstrap-lean] Error 2
make[1]: Leaving directory `/home/work/projects/rpm/BUILD/egcs-1.0/gcc'
make: *** [bootstrap-lean] Error 2
*** End error message ***
I configured and built egcs-1.0 *in the egcs-1.0
source directory* as follows:
langston@seto$ ./configure --prefix=/usr/local --enable-shared i386-pc-linux-gnulibc
langston@seto$ make bootstrap-lean
However, egcs-1.0 builds absolutely fine when I don't
pass `configure' a target name (which, in my case,
defaults to `i686-pc-linux-gnulibc1').
I am building RedHat RPMs of egcs-1.0 for my site, so
I must pass the `i386' target type to configure.
Also, since I am building RedHat RPMs, I must build
egcs-1.0 in the source directory. This is contrary to
the advice given at
http://www.cygnus.com/egcs/install/configure.html, but
since I am building RPMs I have no choice but to build
in the source directory.
Can anyone offer insight into this problem?
--
Matt Langston
SLD, Stanford Linear Accelerator Center
langston@SLAC.Stanford.EDU