>>>>> Brian Dessent <br...@dessent.net>: [snip! Access from plugins to every aspect of the compiler] > ... This means you'd have to move essentially everything into this > mega-DLL, leaving cc1 and friends as merely stubs that set a flag and > then call into the DLL never to return, since anything left in cc1 > would not be accessible from the plugin.
FWIW this is not an uncommon situation for Win32 executables, especially for multiplatform application and/or applications ported from unix.