public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* compiling gcc 2.8.1 on hpux 10.20
@ 1999-11-18 13:47 Brandon Metcalf
  1999-11-18 14:00 ` Eric Ladner
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Brandon Metcalf @ 1999-11-18 13:47 UTC (permalink / raw)
  To: help-gcc

I'm having a couple of problems compiling gcc 2.8.1 on hpux 10.20.
Since -g isn't supported unless I use gas, I configured with
--with-gnu-as and made sure gas is the one found when typing as:

baycat objdir $ whence as
/nms/tools/bin/HP-UX/as
baycat objdir $ as -v
GNU assembler version 2.9.1 (hppa1.1-hp-hpux10.20), using BFD version
2.9.1
baycat objdir $


However, when compiling gcc, I get the following:

echo "__foo () {}" > dummy.c
./xgcc -B./  -DIN_GCC    -g -I./include  -c dummy.c
as: "/var/tmp/cca18394.s", line 10: error 1052: Directive name not
recognized - FILE
as: "/var/tmp/cca18394.s", line 12: error 1052: Directive name not
recognized - STABS
as: "/var/tmp/cca18394.s", line 13: error 1052: Directive name not
recognized - STABS
as: "/var/tmp/cca18394.s", line 18: error 1052: Directive name not
recognized - STABS
as: "/var/tmp/cca18394.s", line 19: error 1052: Directive name not
recognized - STABS

Does anyone know what the problem is?

Thanks,
Brandon

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

* Re: compiling gcc 2.8.1 on hpux 10.20
  1999-11-18 13:47 compiling gcc 2.8.1 on hpux 10.20 Brandon Metcalf
@ 1999-11-18 14:00 ` Eric Ladner
  1999-11-18 14:22   ` Brandon Metcalf
  1999-11-30 23:28   ` Eric Ladner
  1999-11-19  5:42 ` Tim Prince
  1999-11-30 23:28 ` Brandon Metcalf
  2 siblings, 2 replies; 8+ messages in thread
From: Eric Ladner @ 1999-11-18 14:00 UTC (permalink / raw)
  To: Brandon Metcalf; +Cc: help-gcc

You're in luck!  I recently solved this problem.  I asked the same thing
here but just got read the FAQ.  True it was in the FAQ, but knowing the
symptom is not the same as knowing the problem, so it was a bear
to find.

Basically, even though you told configure to use gnu as (--with-gnu-as)
and even though you may have your PATH set up right, it is ignoring it.

Not sure about 2.8.1, but for the 2.95.2 release, there is a
--with-as=/your/path/to/as

You may have to find the HP as on that machine (/usr/ccs/bin/as, I think)

and rename it so configure finds gnu as later in the path.

Eric

Brandon Metcalf wrote:

> I'm having a couple of problems compiling gcc 2.8.1 on hpux 10.20.
> Since -g isn't supported unless I use gas, I configured with
> --with-gnu-as and made sure gas is the one found when typing as:
>
> baycat objdir $ whence as
> /nms/tools/bin/HP-UX/as
> baycat objdir $ as -v
> GNU assembler version 2.9.1 (hppa1.1-hp-hpux10.20), using BFD version
> 2.9.1
> baycat objdir $
>
> However, when compiling gcc, I get the following:
>
> echo "__foo () {}" > dummy.c
> ./xgcc -B./  -DIN_GCC    -g -I./include  -c dummy.c
> as: "/var/tmp/cca18394.s", line 10: error 1052: Directive name not
> recognized - FILE
> as: "/var/tmp/cca18394.s", line 12: error 1052: Directive name not
> recognized - STABS
> as: "/var/tmp/cca18394.s", line 13: error 1052: Directive name not
> recognized - STABS
> as: "/var/tmp/cca18394.s", line 18: error 1052: Directive name not
> recognized - STABS
> as: "/var/tmp/cca18394.s", line 19: error 1052: Directive name not
> recognized - STABS
>
> Does anyone know what the problem is?
>
> Thanks,
> Brandon

--
================================================================
Eric Ladner              | HPUX Systems Admin, Oracle DBA
Pascagoula Refinery      | Java Programmer, Perl scripter, C++
Chevron Products Company | programmer, etc., etc., etc.


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

* Re: compiling gcc 2.8.1 on hpux 10.20
  1999-11-18 14:00 ` Eric Ladner
@ 1999-11-18 14:22   ` Brandon Metcalf
  1999-11-30 23:28     ` Brandon Metcalf
  1999-11-30 23:28   ` Eric Ladner
  1 sibling, 1 reply; 8+ messages in thread
From: Brandon Metcalf @ 1999-11-18 14:22 UTC (permalink / raw)
  To: Eric Ladner, Brandon Metcalf; +Cc: help-gcc

At 03:59 PM 11/18/99 -0600, Eric Ladner wrote:
>You're in luck!  I recently solved this problem.  I asked the same thing
>here but just got read the FAQ.  True it was in the FAQ, but knowing the
>symptom is not the same as knowing the problem, so it was a bear
>to find.
>
>Basically, even though you told configure to use gnu as (--with-gnu-as)
>and even though you may have your PATH set up right, it is ignoring it.
>
>Not sure about 2.8.1, but for the 2.95.2 release, there is a
>--with-as=/your/path/to/as
>
>You may have to find the HP as on that machine (/usr/ccs/bin/as, I think)
>
>and rename it so configure finds gnu as later in the path.

Cool.  Let me give it a shot.

Thanks,
Brandon

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

* Re: compiling gcc 2.8.1 on hpux 10.20
  1999-11-18 13:47 compiling gcc 2.8.1 on hpux 10.20 Brandon Metcalf
  1999-11-18 14:00 ` Eric Ladner
@ 1999-11-19  5:42 ` Tim Prince
  1999-11-30 23:28   ` Tim Prince
  1999-11-30 23:28 ` Brandon Metcalf
  2 siblings, 1 reply; 8+ messages in thread
From: Tim Prince @ 1999-11-19  5:42 UTC (permalink / raw)
  To: help-gcc

>as: "/var/tmp/cca18394.s", line 19: error 1052: Directive name not
>recognized - STABS
>
>Does anyone know what the problem is?
>

Read the instructions carefully.  gcc doesn't use your path to choose its as,
it uses its own path, including the directory which you configured in
--prefix=...   so you must arrange to have it appear fully installed there.
Tim Prince
tprince@computer.org

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

* Re: compiling gcc 2.8.1 on hpux 10.20
  1999-11-18 14:22   ` Brandon Metcalf
@ 1999-11-30 23:28     ` Brandon Metcalf
  0 siblings, 0 replies; 8+ messages in thread
From: Brandon Metcalf @ 1999-11-30 23:28 UTC (permalink / raw)
  To: Eric Ladner, Brandon Metcalf; +Cc: help-gcc

At 03:59 PM 11/18/99 -0600, Eric Ladner wrote:
>You're in luck!  I recently solved this problem.  I asked the same thing
>here but just got read the FAQ.  True it was in the FAQ, but knowing the
>symptom is not the same as knowing the problem, so it was a bear
>to find.
>
>Basically, even though you told configure to use gnu as (--with-gnu-as)
>and even though you may have your PATH set up right, it is ignoring it.
>
>Not sure about 2.8.1, but for the 2.95.2 release, there is a
>--with-as=/your/path/to/as
>
>You may have to find the HP as on that machine (/usr/ccs/bin/as, I think)
>
>and rename it so configure finds gnu as later in the path.

Cool.  Let me give it a shot.

Thanks,
Brandon

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

* Re: compiling gcc 2.8.1 on hpux 10.20
  1999-11-18 14:00 ` Eric Ladner
  1999-11-18 14:22   ` Brandon Metcalf
@ 1999-11-30 23:28   ` Eric Ladner
  1 sibling, 0 replies; 8+ messages in thread
From: Eric Ladner @ 1999-11-30 23:28 UTC (permalink / raw)
  To: Brandon Metcalf; +Cc: help-gcc

You're in luck!  I recently solved this problem.  I asked the same thing
here but just got read the FAQ.  True it was in the FAQ, but knowing the
symptom is not the same as knowing the problem, so it was a bear
to find.

Basically, even though you told configure to use gnu as (--with-gnu-as)
and even though you may have your PATH set up right, it is ignoring it.

Not sure about 2.8.1, but for the 2.95.2 release, there is a
--with-as=/your/path/to/as

You may have to find the HP as on that machine (/usr/ccs/bin/as, I think)

and rename it so configure finds gnu as later in the path.

Eric

Brandon Metcalf wrote:

> I'm having a couple of problems compiling gcc 2.8.1 on hpux 10.20.
> Since -g isn't supported unless I use gas, I configured with
> --with-gnu-as and made sure gas is the one found when typing as:
>
> baycat objdir $ whence as
> /nms/tools/bin/HP-UX/as
> baycat objdir $ as -v
> GNU assembler version 2.9.1 (hppa1.1-hp-hpux10.20), using BFD version
> 2.9.1
> baycat objdir $
>
> However, when compiling gcc, I get the following:
>
> echo "__foo () {}" > dummy.c
> ./xgcc -B./  -DIN_GCC    -g -I./include  -c dummy.c
> as: "/var/tmp/cca18394.s", line 10: error 1052: Directive name not
> recognized - FILE
> as: "/var/tmp/cca18394.s", line 12: error 1052: Directive name not
> recognized - STABS
> as: "/var/tmp/cca18394.s", line 13: error 1052: Directive name not
> recognized - STABS
> as: "/var/tmp/cca18394.s", line 18: error 1052: Directive name not
> recognized - STABS
> as: "/var/tmp/cca18394.s", line 19: error 1052: Directive name not
> recognized - STABS
>
> Does anyone know what the problem is?
>
> Thanks,
> Brandon

--
================================================================
Eric Ladner              | HPUX Systems Admin, Oracle DBA
Pascagoula Refinery      | Java Programmer, Perl scripter, C++
Chevron Products Company | programmer, etc., etc., etc.


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

* Re: compiling gcc 2.8.1 on hpux 10.20
  1999-11-19  5:42 ` Tim Prince
@ 1999-11-30 23:28   ` Tim Prince
  0 siblings, 0 replies; 8+ messages in thread
From: Tim Prince @ 1999-11-30 23:28 UTC (permalink / raw)
  To: help-gcc

>as: "/var/tmp/cca18394.s", line 19: error 1052: Directive name not
>recognized - STABS
>
>Does anyone know what the problem is?
>

Read the instructions carefully.  gcc doesn't use your path to choose its as,
it uses its own path, including the directory which you configured in
--prefix=...   so you must arrange to have it appear fully installed there.
Tim Prince
tprince@computer.org

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

* compiling gcc 2.8.1 on hpux 10.20
  1999-11-18 13:47 compiling gcc 2.8.1 on hpux 10.20 Brandon Metcalf
  1999-11-18 14:00 ` Eric Ladner
  1999-11-19  5:42 ` Tim Prince
@ 1999-11-30 23:28 ` Brandon Metcalf
  2 siblings, 0 replies; 8+ messages in thread
From: Brandon Metcalf @ 1999-11-30 23:28 UTC (permalink / raw)
  To: help-gcc

I'm having a couple of problems compiling gcc 2.8.1 on hpux 10.20.
Since -g isn't supported unless I use gas, I configured with
--with-gnu-as and made sure gas is the one found when typing as:

baycat objdir $ whence as
/nms/tools/bin/HP-UX/as
baycat objdir $ as -v
GNU assembler version 2.9.1 (hppa1.1-hp-hpux10.20), using BFD version
2.9.1
baycat objdir $


However, when compiling gcc, I get the following:

echo "__foo () {}" > dummy.c
./xgcc -B./  -DIN_GCC    -g -I./include  -c dummy.c
as: "/var/tmp/cca18394.s", line 10: error 1052: Directive name not
recognized - FILE
as: "/var/tmp/cca18394.s", line 12: error 1052: Directive name not
recognized - STABS
as: "/var/tmp/cca18394.s", line 13: error 1052: Directive name not
recognized - STABS
as: "/var/tmp/cca18394.s", line 18: error 1052: Directive name not
recognized - STABS
as: "/var/tmp/cca18394.s", line 19: error 1052: Directive name not
recognized - STABS

Does anyone know what the problem is?

Thanks,
Brandon

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

end of thread, other threads:[~1999-11-30 23:28 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-11-18 13:47 compiling gcc 2.8.1 on hpux 10.20 Brandon Metcalf
1999-11-18 14:00 ` Eric Ladner
1999-11-18 14:22   ` Brandon Metcalf
1999-11-30 23:28     ` Brandon Metcalf
1999-11-30 23:28   ` Eric Ladner
1999-11-19  5:42 ` Tim Prince
1999-11-30 23:28   ` Tim Prince
1999-11-30 23:28 ` Brandon Metcalf

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).