This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: problem with genattr on i386-pc-linux-gnulibc
- To: langston at SLAC dot Stanford dot EDU
- Subject: Re: problem with genattr on i386-pc-linux-gnulibc
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Thu, 04 Dec 1997 00:49:05 -0700
- cc: egcs <egcs at cygnus dot com>
- Reply-To: law at cygnus dot com
In message <3485B0DB.D3249E62@SLAC.Stanford.EDU>you write:
> 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
Hmmm, this does not look like a problem with egcs -- it looks more
like a system error of some kind.
> langston@seto$ ./configure --prefix=/usr/local --enable-shared i386-pc-li
> nux-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').
You should never have to provide a target name for native builds;
if rpms are requiring that, then the rpms need to be fixed.
> Can anyone offer insight into this problem?
Avoid the rpms and just build egcs without them.
jeff