* Compile error on hpux10.20 egcs-19980628
@ 1998-07-07 12:51 David B. Rees
1998-07-07 22:54 ` Jeffrey A Law
0 siblings, 1 reply; 3+ messages in thread
From: David B. Rees @ 1998-07-07 12:51 UTC (permalink / raw)
To: egcs
Got the following while compiling on hpux10.20. Using gcc 2.7.1, and
other gnu tools (make, binutils, sed, etc).
echo "void __foo () {}" > dummy.c
./xgcc -B./ -DIN_GCC -g -I./include -c dummy.c
as: "/var/tmp/cciR1zdq", line 10: error 1052: Directive name not
recognized - FILE
as: "/var/tmp/cciR1zdq", line 12: error 1052: Directive name not
recognized - STABSecho "void __foo () {}" > dummy.c
./xgcc -B./ -DIN_GCC -g -I./include -c dummy.c
as: "/var/tmp/cciR1zdq", line 10: error 1052: Directive name not
recognized - FILE
as: "/var/tmp/cciR1zdq", line 12: error 1052: Directive name not
recognized - STABS
<more of the previous line snipped, up to line 38>
as: "/var/tmp/cciR1zdq", line 38: error 1052: Directive name not
recognized - NSUBSPA
as: "/var/tmp/cciR1zdq", line 39: error 1052: Directive name not
recognized - STABS
as: "/var/tmp/cciR1zdq", line 41: error 1052: Directive name not
recognized - STABN
as: "/var/tmp/cciR1zdq", line 49: error 1052: Directive name not
recognized - STABN
as: "/var/tmp/cciR1zdq", line 50: error 1051: Illegal symbol in opcode
position - :
as: "/var/tmp/cciR1zdq", line 58: error 1052: Directive name not
recognized - STABS
as: "/var/tmp/cciR1zdq", line 60: error 1052: Directive name not
recognized - NSUBSPA
as: "/var/tmp/cciR1zdq", line 61: error 1052: Directive name not
recognized - STABS
as: "/var/tmp/cciR1zdq", line 62: error 1051: Illegal symbol in opcode
position - :
-Dave
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Compile error on hpux10.20 egcs-19980628
1998-07-07 12:51 Compile error on hpux10.20 egcs-19980628 David B. Rees
@ 1998-07-07 22:54 ` Jeffrey A Law
1998-07-08 13:00 ` Problems configuring egcs for gas (was Re: Compile error on hpux10.20 egcs-19980628) Peter Nordlund
0 siblings, 1 reply; 3+ messages in thread
From: Jeffrey A Law @ 1998-07-07 22:54 UTC (permalink / raw)
To: David B. Rees; +Cc: egcs
In message < Pine.LNX.3.96.980707111637.23779A-100000@oto.dyn.ml.org >you write:
> Got the following while compiling on hpux10.20. Using gcc 2.7.1, and
> other gnu tools (make, binutils, sed, etc).
>
> echo "void __foo () {}" > dummy.c
> ./xgcc -B./ -DIN_GCC -g -I./include -c dummy.c
> as: "/var/tmp/cciR1zdq", line 10: error 1052: Directive name not
> recognized - FILE
> as: "/var/tmp/cciR1zdq", line 12: error 1052: Directive name not
> recognized - STABSecho "void __foo () {}" > dummy.c
> ./xgcc -B./ -DIN_GCC -g -I./include -c dummy.c
> as: "/var/tmp/cciR1zdq", line 10: error 1052: Directive name not
> recognized - FILE
> as: "/var/tmp/cciR1zdq", line 12: error 1052: Directive name not
> recognized - STABS
You configured with --gas or --with-gnu-as, but egcs is finding the
hpux assembler before gas. This is covered in the faq.
jeff
^ permalink raw reply [flat|nested] 3+ messages in thread
* Problems configuring egcs for gas (was Re: Compile error on hpux10.20 egcs-19980628)
1998-07-07 22:54 ` Jeffrey A Law
@ 1998-07-08 13:00 ` Peter Nordlund
0 siblings, 0 replies; 3+ messages in thread
From: Peter Nordlund @ 1998-07-08 13:00 UTC (permalink / raw)
To: egcs
Jeffrey A Law wrote:
>
> In message < Pine.LNX.3.96.980707111637.23779A-100000@oto.dyn.ml.org >you write:
> > Got the following while compiling on hpux10.20. Using gcc 2.7.1, and
> > other gnu tools (make, binutils, sed, etc).
> >
> > echo "void __foo () {}" > dummy.c
> > ./xgcc -B./ -DIN_GCC -g -I./include -c dummy.c
> > as: "/var/tmp/cciR1zdq", line 10: error 1052: Directive name not
> > recognized - FILE
> > as: "/var/tmp/cciR1zdq", line 12: error 1052: Directive name not
> > recognized - STABSecho "void __foo () {}" > dummy.c
> > ./xgcc -B./ -DIN_GCC -g -I./include -c dummy.c
> > as: "/var/tmp/cciR1zdq", line 10: error 1052: Directive name not
> > recognized - FILE
> > as: "/var/tmp/cciR1zdq", line 12: error 1052: Directive name not
> > recognized - STABS
> You configured with --gas or --with-gnu-as, but egcs is finding the
> hpux assembler before gas. This is covered in the faq.
> jeff
Concerning problems to configure egcs for gnu as and ld:
I myself had severe difficulties to get things right for Solaris.
I wanted to use gnu as and ld.
In my opinion (I'm not an expert) it seems somewhat difficult to
understand
how to configure the compiler properly.
I suggest that the installation description is extended so that
it will be easier to understand without being an expert.
My own problem to get egcs to use gnu ld and as was solved by an advice
by Gerald Pfeifer. I could not find any hint to what he propose in
the documentation.
Gerald Pfeifer wrote:
>
> On Sat, 4 Jul 1998, Ted Irons wrote:
> > Thanks for the tip.
>
> Glad I could help! :-)
>
> > How can I make sure that the binutils as and ld will be invoked?
>
> I haven't tried this for ld, but simply copying binutils as to
> $EGCS/lib/gcc-lib/sparc-sun-solaris2.5.1/egcs-2.91.*/ or making
> a symbolic link there works fine for me!
>
//Peter
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~1998-07-08 13:00 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-07-07 12:51 Compile error on hpux10.20 egcs-19980628 David B. Rees
1998-07-07 22:54 ` Jeffrey A Law
1998-07-08 13:00 ` Problems configuring egcs for gas (was Re: Compile error on hpux10.20 egcs-19980628) Peter Nordlund
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).