On Tue, 2 Jul 2013, David Malcolm wrote: > So I envisage a "--enable-shared" configuration switch to opt-in to the > shared library code, but I want as minimize the difference between the > two cases.
--enable-host-shared or --enable-shared-gcc or some other such option name, please, not plain --enable-shared with currently refers to the libraries built for the target. Whether the target libraries should be shared libraries is a choice completely independent of whether to build GCC itself as a shared library (or libraries? - since you have lots of separate front ends that don't currently expect to be linked together, although actually making it possible to link them together is probably only a few days' work). -- Joseph S. Myers jos...@codesourcery.com