This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Using GNU as with EGCS 1.1.1 on HP/UX 10.20? (small patch)


I got around this problem myself by setting the COMPILER_PATH shell
environment variable to point to the path where binutils was installed:

`COMPILER_PATH'
     The value of `COMPILER_PATH' is a colon-separated list of
     directories, much like `PATH'.  GNU CC tries the directories thus
     specified when searching for subprograms, if it can't find the
     subprograms using `GCC_EXEC_PREFIX'.

Maybe this should be in the FAQ?
-Ted

--
Ted Belding                               Ted.Belding@umich.edu 
University of Michigan Program for the Study of Complex Systems
Homepage: http://www-personal.umich.edu/~streak/
PGP key:  http://www-personal.umich.edu/~streak/pgp-key.html

On Fri, 4 Dec 1998, Petter Reinholdtsen wrote:

> [Jeffrey A Law]
> > Use the same prefix for egcs & binutils/gas.  That is the preferred
> > way to make gcc find gas automatically.
> 
> I know that is the preferred way to find gas.  I've tried it and it
> works, but then I get conflicts with gcc, and things starts to break.
> I need to compile egcs and gcc with different prefix.  As I install
> egcs, and another person installs gcc and gas, I want to change the
> prefix of egcs and still find gas.
> 
> How do I do that.  Why does not --with-as=/full/path/to/gas work?
> 
> > That is a separate issue.  You have to configure gcc to expect to
> > use gas.  Else it default to expecting the HP assembler, which can
> > not handle -g output.
> 
> Do I fix this with --with-gnu-as?  Is there a better way?
> 
> BTW: I'm still not on this list.  Please send copy to me when answering.
> -- 
> ##>  Petter Reinholdtsen <##    | pere@td.org.uit.no
>  O-  <SCRIPT Language="Javascript">window.close()</SCRIPT>
> http://www.hungry.com/~pere/    | Go Mozilla, go! Go!
> 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]