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]
Other format: [Raw text]

Re: [PATCH] Clean up CPP_SPEC for various NetBSD targets



> ...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 
here...

> 
>  > 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.

R.


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