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: Patch to merge (most of) elfos.h and svr4.h


Am Don, 13 Jan 2000 schrieb Nick Clifton:
>Hi Franz,
>
>: I'll do the cleanup, no problem. It's just that the cleanup will break some
>: platforms which depend on elfos.h/svr4.h until their maintainers catch up.
>: That's why I would like to get an idea about what is "the right thing to do"
>: (tm) :-).
>
>Well I am only a humble hacker, so I cannot answer that, but I will
>give you my opinion, in case it helps...
>
>: After a quick browse of svr4.h/elfos.h I believe only the specfile related
>: macros justify handling via #undef/#ifndef, all others just should provoke a
>: macro collision. What do you think?
>
>Why give special preference to the SPEC related macros ?  Why not just
>say that all targets (that are going to use svr4.h/elfos.h) should
>include these headers first and then override any macros that they
>need to, including the spec macros ?

Hmm, you are probably right. I'll think that over again when I'm back on
Sunday.

Franz.

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