This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH: Fix Solaris/SPARC bootstrap without gas
- From: Eric Botcazou <ebotcazou at adacore dot com>
- To: Rainer Orth <ro at cebitec dot uni-bielefeld dot de>
- Cc: gcc-patches at gcc dot gnu dot org, Mikael Pettersson <mikpe at it dot uu dot se>, David Miller <davem at davemloft dot net>
- Date: Wed, 3 Feb 2010 12:16:00 +0100
- Subject: Re: PATCH: Fix Solaris/SPARC bootstrap without gas
- References: <yddiqao5zbr.fsf@manam.CeBiTec.Uni-Bielefeld.DE> <19305.19330.269167.387812@pilspetsen.it.uu.se> <yddljfafwbv.fsf@manam.CeBiTec.Uni-Bielefeld.DE>
> I don't have access to Linux/SPARC, so I cannot easily investigate
> what's going on there. I'd very much prefer if anyone who does could
> have a look.
HAVE_GNU_AS is 0 if you configure neither with --with-gnu-as nor --with-as so
testing it in the config/ subdir is wrong (sparc/ is the only one to do it).
The proper solution is to test the "gas" variable in config.gcc and act upon
it, see for example the handling of sparc/sol2-gas.h for Solaris.
--
Eric Botcazou