Edit-and-continue
Ian Lance Taylor
iant@google.com
Sun Jul 18 18:54:00 GMT 2010
Rick Hodgin <foxmuldrster@yahoo.com> writes:
> The idea is to create a program database of the compiled program on a
> full compile. Then when asked to re-compile with the edit-and-continue
> switch, it only looks for changed code and compiles those few
> lines. Everything else it needs to carry out compilation is there from
> previous full-compile as was originally parsed, or from subsequent
> edit-and-continue compiles which updated the database.
This idea is related to Tom Tromey's incremental compiler work
(http://gcc.gnu.org/wiki/IncrementalCompiler) and to Per Bothner's
compiler server work
(http://per.bothner.com/papers/GccSummit03-slides/index.html). Neither
project is currently active. I believe that Diego Novillo is currently
doing some work along these lines but I don't know what the status is.
Ian
More information about the Gcc
mailing list