This is the mail archive of the gcc-help@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: Trying to use gas in building gcc-20010115


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



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