[parisc-linux] gcc build failure

John David Anglin dave@hiauly1.hia.nrc.ca
Fri, 8 Sep 2000 14:32:26 -0400 (EDT)


> On Fri, 8 Sep 2000, Alex deVries wrote:
> 
> > Andrew Park wrote:
> > > I get the following error message when trying to build gcc.
> > > I've run the contrib/cvsupdate script to update the source as well.
> > 
> > You're trying to use the i386 assembler!  You can fix this by first
> > building and installing the cross binutils, making sure that's in your
> > path, before you build gcc.
> > 
> > - Alex
> 
> Hmmm... my path is correct.  When cross built binutils I DID specify
> --target=hppa2.0-linux, so I do not know how it could have built i386
> binary instead.  Anyhow, thanks for the hint.  I'll rebuild and see
> if that helps.

Try `gcc -print-prog-name=as'.  This will show the full path of the
assembler.

Dave
-- 
J. David Anglin                                  dave.anglin@nrc.ca
National Research Council of Canada              (613) 990-0752 (FAX: 952-6605)