This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: #define HAVE_GNU_AS/LD
- To: Alexandre Oliva <oliva at lsd dot ic dot unicamp dot br>
- Subject: Re: #define HAVE_GNU_AS/LD
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Thu, 09 Dec 1999 00:04:27 -0700
- cc: gcc-patches at gcc dot gnu dot org
- Reply-To: law at cygnus dot com
In message <orzovl4ms4.fsf@garnize.lsd.ic.unicamp.br>you write:
> --=-=-=
>
> This is a repost of a patch that I have posted before, but always
> together with other unrelated patches, and always under inappropriate
> subjects. This will allow us to unify various of the config files and
> make explicit the differences between the GNU and the native tools by
> enclosing them in #if/#else/#endif, instead of forcing someone to
> compare separate files that aren't always updated together, or to
> #include one file in another, which breaks Makefile dependencies.
>
> Is this ok to install?
This seems somewhat backwards. I'd expect us to not be having code that is
compile-time checking for HAVE_GNU_AS/HAVE_GNU_LD in the long term. That
kind of stuff should be runtime switch selectable.
In fact, we already have ports that work in this manner.
jeff