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

Re: Exporting structure layout


Florian Weimer <fw@deneb.enyo.de> writes:

> Are there any objections to exporting structure layout from GCC, in a
> format which can be parsed in a straightforward manner?  Such a patch
> could be used as a GPL circumvention device, but I'm not sure how
> relevant this is in practice because GCC follows published ABIs, so a
> clean-room reimplementation would be straightforward (IOW, there isn't
> much to lose for us because our competetive edge is pretty minimal).

You can extract this information directly from the debugging output
anyhow.  I can't see how anybody would object to this on GPL
circumvention grounds.

I actually have a vague recollection that gcc used to implement
something along these lines, but I couldn't find it in five minutes of
searching.

Ian


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