This is the mail archive of the
mailing list for the GCC project.
Re: [PATCH] Clean up CPP_SPEC for various NetBSD targets
- From: Richard Earnshaw <rearnsha at arm dot com>
- To: thorpej at wasabisystems dot com
- Cc: Richard dot Earnshaw at arm dot com, gcc-patches at gcc dot gnu dot org
- Date: Thu, 09 May 2002 18:46:29 +0100
- Subject: Re: [PATCH] Clean up CPP_SPEC for various NetBSD targets
- Organization: ARM Ltd.
- Reply-to: Richard dot Earnshaw at arm dot com
> ...this isn't quite sufficient -- there are often target-specific
> SUBTARTET_CPP_SPEC's as well, and not all targets provide all the
> EXTRA_SPECS stuff that's needed to handle this reasonably.
The ARM has SUBTARGET_EXTRA_SPECS to handle an extra level of indirection
> > Admittedly, this would be all much easier if most of the specs were split
> > in the top-level to have an OS part and a CPU part -- but doing that would
> > be quite a lot of work.
> Yes, that would be ideal. I'm not sure it would be too bad ... perhaps
> a new CPP_OS_SPEC (which would default to "" if not provided by the
> configuration) could be added to parallel CPP_SPEC, and configurations
> can migrate towards it?
Yep, that's the general idea. I think this needs an OS maintainer to push
it through (like yourself ;-) I don't have access to enough machines
running the same OS to drive an initial instance myself.