public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* Getting egcs to find GNU as on hpux 10.20
@ 1997-11-26 17:21 Arthur Jerijian
  1997-12-02 18:18 ` Jeffrey A Law
  0 siblings, 1 reply; 2+ messages in thread
From: Arthur Jerijian @ 1997-11-26 17:21 UTC (permalink / raw)
  To: egcs

Hi,

I attempted to compile egcs-971122 on my hpux 10.20 machine at work.
I have GCC 2.7.2.3 installed in /opt/gcc/bin and GNU as installed in
/opt/binutils/bin (which comes before /usr/ccs/bin, where the HP assembler
is, in my path).  I used
configure --with-gnu-as --prefix=/opt/egcs-971122/bin
to tell the Makefile that I'm using GNU as.  However, the resulting
stage 1 xgcc was invoking the HP assembler, not the GNU assembler, causing
a whole slew of errors to spill out!  Is there a way for the stage 1
compiled to find GNU as?

I don't have a transcript of actions or errors, but if need be, I'll
provide one on Monday after I come home freom my vacation.

Thanks!
--Arthur


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Getting egcs to find GNU as on hpux 10.20
  1997-11-26 17:21 Getting egcs to find GNU as on hpux 10.20 Arthur Jerijian
@ 1997-12-02 18:18 ` Jeffrey A Law
  0 siblings, 0 replies; 2+ messages in thread
From: Jeffrey A Law @ 1997-12-02 18:18 UTC (permalink / raw)
  To: Arthur Jerijian; +Cc: egcs

  In message <Pine.LNX.3.96.971126191439.1167A-100000@jaddams.csw.uic.edu>you w
rite:
  > Hi,
  > 
  > I attempted to compile egcs-971122 on my hpux 10.20 machine at work.
  > I have GCC 2.7.2.3 installed in /opt/gcc/bin and GNU as installed in
  > /opt/binutils/bin (which comes before /usr/ccs/bin, where the HP assembler
  > is, in my path).
The correct way to do this is to configure gas/binutils with the same
--prefix option as you configure egcs with, then build & install 
gas/binutils.

Doing so will put the assembler in a location where egcs will find
it before any system assembler.  There's other less graceful ways
to do this, but I wouldn't recommend them.

jeff

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1997-12-02 18:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-11-26 17:21 Getting egcs to find GNU as on hpux 10.20 Arthur Jerijian
1997-12-02 18:18 ` Jeffrey A Law

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).