uses wrong AS (maybe doc prob)y

Ray Lillard
Mon Nov 23 22:17:00 GMT 1998

"Shawn Leas wrote:"
> On Mon, 23 Nov 1998, Ray Lillard wrote:
> > 
> > Mon Nov 23 15:23:31 PST 1998
> > 
> > Today I downloaded egcs-1.1.1-prerelease-2 and proceeded to build
> > the native target for this machine which is: 
> > 
> >     `hppa1.1-hp-hpux10.20'
> Edit gcc/config/pa/pa-hpux10.h (from memory, don't quote me)
> and take out the braindead #ifdef that makes egcs use /usr/ccs/bin.


Thanks for you reply.  I looked at that and thought it was the
problem, but chose to make the link in the build directory
because I was concerned that something else might break, like
it might start using the wrong 'ld' or some other tool.  It
seemed to me that the least intrusive action was the safest,
therefore I chose to make the link.

Since I solved my problem and achieved a sucessful build, I
am happy.  My purpose in posting this was to encourage the
maintainers either fix the problem or at least warn those
who follow me.  It wasted my time once before.  I hope to
save the time and effort for others in the future.

I don't see this as a huge issue.  Perhaps a change to the
$srcdir/INSTALL/SPECIFIC file would suffice.

The present SPECIFIC file sez:
We highly recommend using gas/binutils-2.8 or newer on all hppa
platforms; you may encounter a variety of problems when using the HP

Perhaps the following paragraph could be appended:
If you specify the "--with-gnu-as" option to "configure" you should
also place a copy of (or symlink to) a hppa*-hp-hpux* targeted GNU
assembler ( $(AS) looks for 'as', not 'gas' ) in the sub-directory
'gcc' of where you do the build. This prevents the build process
from using the HP assembler.


More information about the Gcc-bugs mailing list