From: Hans-Bernhard B. <br...@ph...> - 2005-04-28 12:04:26
|
Robert Hart wrote: > This is because all the terminals are #included into term.c, and > therefore they are all rebuilt together. Not "all the drivers" --- only the ones selected by your current term.h. If you're noticeably bothered by the compile time for time.c, feel free to use a cut-down version of term.h for the tests. There's even a precedent you can start off from: see the SHORT_TERMLIST conditional section at the start of term.h. > It seems from the way the .trm files are laid out, it would be a > simple matter to compile each one separately, and link them together > like standard .c files. That was indeed a major motive behind the re-structuring of all terminal drivers performed a *long* time ago. > Any reason why this hasn't been done? Because the actual need never arose --- the platform where it would have been most important was 16-bit DOS. It fails to compile for different reasons than the size of term.obj, nowadays... |