uses wrong AS (maybe doc prob)

Ray Lillard Ray_Lillard@eng.trimble.com
Mon Nov 23 16:47:00 GMT 1998


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'

I ran configure with the --with-gnu-as option according to
the admonition in the SPECIFIC file.  The build proceeded
to the point where it needed to run 'as'.  As with past
builds I have done on HPUX, the make stopped because it
was using the wrong assembler (the native 'as').

Remembering the time I wasted on this once before, I copied 
'gas' into the build directory and restarted make.  As I
write this mail, the build is still grinding away, but I
expect no further problems.

My configure.status reads: (I added line breaks and shortened
a pathname for readability)

#!/bin/sh
# This file was generated automatically by configure.  Do not edit.
# This directory was configured as follows:
../../../egcs-1.1.1-prerelease-2/configure
  --with-gcc-version-trigger=..../egcs-1.1.1-prerelease-2/gcc/version.c
  --host=hppa1.1-hp-hpux10.20
  --prefix=/opt/egcs-1.1.1
  --with-gnu-as
  --norecursion 
# using "mh-frag"

In an FAQ I read last-time I built this compiler, I read that
having 'as' (aka gas) precede the native 'as' in my PATH was
sufficient to cause the intended assembler (gas) to be used.

My guess is that the problem somehow relates to my use of the
--prefix=/opt/egcs.... option since egcs defaults the value of
this option to "/usr/local".  Some unintended effect on the PATH
variable by the non-standard option value may be at work here.

One or more of the following seems to be true:

* There is a bug in configure or the makefile template
* There should be a note of this in the SPECIFIC file
* Some clarification of the options to configure is needed
* I am irredeemably obtuse

Be kind,
Ray





More information about the Gcc-bugs mailing list