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]

Re: #define HAVE_GNU_AS/LD


 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


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