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] | |
For anyone interested in interfacing proprietary programs to GCC, that's not even much of a speed bump.
As soon as that binary API is written, someone will write a small calling program that will use the API to dump the translation unit into a nicely documented XML format. The dumper will, of course, be released under the GPL. Then the proprietary backend will simply read in the XML data.
I suspect the XML output thus generated will be comparable is size to what -fdump-translation-unit generates now. As it is, it takes *ages* to re-parse those megabytes of ASCII data (even for simple C source files including lots of headers). The really problematic case is only when a binary API at the tree level is exposed.
-- Stefan Strasser
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |