This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Exporting structure layout
- From: Ian Lance Taylor <ian at airs dot com>
- To: Florian Weimer <fw at deneb dot enyo dot de>
- Cc: gcc at gcc dot gnu dot org
- Date: 11 May 2005 16:41:01 -0400
- Subject: Re: Exporting structure layout
- References: <87d5rx4rzu.fsf@deneb.enyo.de>
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