This is the mail archive of the gcc@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: Converting tm.h macros to functions


Mark Mitchell wrote:-

> In that case, I would just build one big structure.  There is definitely
> an abstraction called "the target" that has all these properties.  It
> makes sense for that mental abstraction to appear as a code abstraction.
> I was thinking of a "the target" as the conjuction of "how you output
> assembly code" and "what debugging format you use" and "whether or not
> you use setjmp/longjmp exceptions" and so forth.  You can separate
> the conjuction into separate structures, or just mush them all together.
> But, conceptual things should ideally map one-to-one on code things.

OK.  I'll give something a go for a start.  It'll probably not be the
ASM stuff, though.

Neil.


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