This is the mail archive of the gcc-patches@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]
Other format: [Raw text]

Re: Patch for PR bootstrap/26872 (force use of GNU as)


> > > In the 4.1 timeframe, the GCC documentation was changed to say that GAS
> > > is required for GCC on hppa*-*-hpux* plaltforms.  The gcc/configure.ac
> > > script was also changed to check for gas but config.gcc was not setting
> > > gas to yes by default.  This patch rectifies that situation.
> > > 
> > > Tested on hppa1.1-hp-hpux11.11.
> > 
> > Did you check what what happens if as is not gas?
> 
> It depends on the configure options, if you do not specify
> "--with-gnu-as" then the gcc/configure script will check the assembler
> (as found with PATH or as specified with --with-as=...)  to see if it is
> the GNU assembler and the configure script will exit with a 1 if it is
> not the GNU assembler (this behaviour is from the earlier patch).  If
> you explicitly say "--with-gnu-as" then configure believes you and does
> not check the assembler to verify it, the compiler will generate code
> for the GNU assembler regardless of whether or not you actually have
> one.

Ok, please install the change on 4.1 and head.

Thanks,
Dave
-- 
J. David Anglin                                  dave.anglin@nrc-cnrc.gc.ca
National Research Council of Canada              (613) 990-0752 (FAX: 952-6602)


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