bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Tool chain configuration: GNU/* sharing stuff with GNU/Linux


From: Joseph S. Myers
Subject: Re: Tool chain configuration: GNU/* sharing stuff with GNU/Linux
Date: Sun, 11 Nov 2007 19:12:59 +0000 (UTC)

On Sun, 11 Nov 2007, Thomas Schwinge wrote:

> To give an example: all the GNU/* configurations use the `config/linux.h'
> file, even though only one of the possible GNU/* configurations is

GNU/Linux for Alpha, Power and SPARC don't use the shared file, so in 
those cases config/$cpu/linux.h has to duplicate a lot from it.

Also, some uClinux targets use this header, and some don't.

> To state this intended similarity clearly, one could rename, e.g.,
> `config/linux.h' to `config/gnu-shared.h' and then have a new (nearly
> empty) file `config/linux.h' additionally to the existing `config/gnu.h',
> `config/kfreebsd-gnu.h', etc. to do the remaining few customizations.

Perhaps it would make sense in the first instance to move just the subset 
that can be shared by *all* GNU/Linux targets (and is identical in 
config/alpha/linux.h, config/rs6000/linux.h, config/sparc/linux.h as well 
as in config/linux.h) into the new header - which *all* GNU/Linux targets 
would use - and then work out how to share the rest?

-- 
Joseph S. Myers
address@hidden




reply via email to

[Prev in Thread] Current Thread [Next in Thread]