public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Trying to use gas in building gcc-20010115
@ 2001-01-24  7:09 James Overly
  2001-01-24 13:56 ` Anthony Lee
  0 siblings, 1 reply; 3+ messages in thread
From: James Overly @ 2001-01-24  7:09 UTC (permalink / raw)
  To: gcc-help

Hi -

I am attempting to build gcc-20010115 distribution
on the alpha using OSF 4.0f. I ended up getting an error 
in stage 3 of the bootstrap and it was suggested that
I use gas instead of the native assembler.

When I switch to gas I get the error message:

as: unrecognized option `-O0'
*** Exit 1
Stop.

whenever I try to compile anything. 

It looks like I do not have things setup correctly however 
I can not find anything addressing this in the documentation.
I know I must be doing something stupid.

Any help would be greatly apprecated.

Thanks

Jim Overly



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

* Re: Trying to use gas in building gcc-20010115
  2001-01-24  7:09 Trying to use gas in building gcc-20010115 James Overly
@ 2001-01-24 13:56 ` Anthony Lee
  2001-01-25  7:33   ` James Overly
  0 siblings, 1 reply; 3+ messages in thread
From: Anthony Lee @ 2001-01-24 13:56 UTC (permalink / raw)
  To: James Overly; +Cc: gcc-help

I thought gas doesn't work for OSF 4.0x ??? I tried that path too
because OSF native assembler can't handle gcc's long assembly variables.
Eventually I gave up and just used -fsquangle option with gcc.

James Overly wrote:
> 
> Hi -
> 
> I am attempting to build gcc-20010115 distribution
> on the alpha using OSF 4.0f. I ended up getting an error
> in stage 3 of the bootstrap and it was suggested that
> I use gas instead of the native assembler.
> 
> When I switch to gas I get the error message:
> 
> as: unrecognized option `-O0'
> *** Exit 1
> Stop.
> 
> whenever I try to compile anything.
> 
> It looks like I do not have things setup correctly however
> I can not find anything addressing this in the documentation.
> I know I must be doing something stupid.
> 
> Any help would be greatly apprecated.
> 
> Thanks
> 
> Jim Overly

-- 
Anthony Lee	
Energex                                            
150 Charlotte Street                 ..--  __o 
Brisbane                        ....--   _ \<,_               
Qld 4000                       ____     (_)/ (_)                         
Australia
voice:+61 7 3407 4541
fax:  +61 7 3407 4607
email: AL012@energex.com.au


-----------------------------------------------------------------------------------------------------------------------------------------------------
This email message (and any accompanying file attachments) may contain confidential or 
privileged information and is intended for the sole use of the addressee named above. If you 
are not the intended recipient, or the person responsible for delivering this message to the 
intended recipient, please notify ENERGEX immediately and destroy any copies of the original 
message.

Any unauthorised review, use, alteration, disclosure or distribution of this email (including any 
attachments) by an unintended recipient is prohibited.

ENERGEX accepts no responsibility for the content of any email which is sent by an employee 
which is of a personal nature.

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

* Re: Trying to use gas in building gcc-20010115
  2001-01-24 13:56 ` Anthony Lee
@ 2001-01-25  7:33   ` James Overly
  0 siblings, 0 replies; 3+ messages in thread
From: James Overly @ 2001-01-25  7:33 UTC (permalink / raw)
  To: Anthony Lee; +Cc: gcc-help

Hi -

I was able to get gas to work by wrapping it with a simple script.
I renamed gas (as to as-new and called the following script as:

#! /bin/sh
GAS_FLAGS=""
for AS_VAR in $*
do
   if  [ "$AS_VAR" != "-O0" ]
   then
        GAS_FLAGS=$GAS_FLAGS" $AS_VAR"
   fi
done
\as-new $GAS_FLAGS

I still have no idea why -O0 is being passed to gas or why gas dislikes
it and the alpha as accepts it. Anyway this seems to work however I
don't know what side effects it might cause.

Jim Overly

> I thought gas doesn't work for OSF 4.0x ??? I tried that path too
> because OSF native assembler can't handle gcc's long assembly variables.
> Eventually I gave up and just used -fsquangle option with gcc.
> 
> James Overly wrote:
> > 
> > Hi -
> > 
> > I am attempting to build gcc-20010115 distribution
> > on the alpha using OSF 4.0f. I ended up getting an error
> > in stage 3 of the bootstrap and it was suggested that
> > I use gas instead of the native assembler.
> > 
> > When I switch to gas I get the error message:
> > 
> > as: unrecognized option `-O0'
> > *** Exit 1
> > Stop.
> > 
> > whenever I try to compile anything.
> > 
> > It looks like I do not have things setup correctly however
> > I can not find anything addressing this in the documentation.
> > I know I must be doing something stupid.
> > 
> > Any help would be greatly apprecated.
> > 
> > Thanks
> > 
> > Jim Overly
> 
> -- 
> Anthony Lee	
> Energex                                            
> 150 Charlotte Street                 ..--  __o 
> Brisbane                        ....--   _ \<,_               
> Qld 4000                       ____     (_)/ (_)                         
> Australia
> voice:+61 7 3407 4541
> fax:  +61 7 3407 4607
> email: AL012@energex.com.au
> 
> 
> -----------------------------------------------------------------------------
------------------------------------------------------------------------
> This email message (and any accompanying file attachments) may contain confid
ential or 
> privileged information and is intended for the sole use of the addressee name
d above. If you 
> are not the intended recipient, or the person responsible for delivering this
 message to the 
> intended recipient, please notify ENERGEX immediately and destroy any copies 
of the original 
> message.
> 
> Any unauthorised review, use, alteration, disclosure or distribution of this 
email (including any 
> attachments) by an unintended recipient is prohibited.
> 
> ENERGEX accepts no responsibility for the content of any email which is sent 
by an employee 
> which is of a personal nature.
> 


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

end of thread, other threads:[~2001-01-25  7:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-01-24  7:09 Trying to use gas in building gcc-20010115 James Overly
2001-01-24 13:56 ` Anthony Lee
2001-01-25  7:33   ` James Overly

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