PATCH for new flag `--enable-libs-in-libsubdir'

Manfred Hollstein
Wed Jun 24 06:30:00 GMT 1998

On Wed, 24 June 1998, 01:05:55, wrote:

 >   In message < >you write:
 >   >  > Anyway, right now I'm tempted to recommend against this patch, though
 >   >  > maybe we could have some configure option to enable this behavior? 
 >   >  > (or document better how to make existing configure options do the
 >   >  > same thing).
 >   > 
 >   > OK, this patch adds the new configure option `--enable-libs-in-libsubdir'
 >   > (do you know a better name?), which is disabled by default
 >   > (== current behaviour). Enabling it has the following effects:
 > Maybe --enable-version-specific-libstdc++?  Since what it's doing is
 > allowing us to keep a set of libstdc++ includes & libraries for each
 > specific version of the compiler.  I'm not particularly fond of either,
 > so use whichever one you like.
 > Could I suggest you also submit a change to the configuration instructions?
 > (wwwdocs/htdocs/install/configure.html).
 > Since this is a new option it should note that it's only available for
 > egcs-1.1 and later releases.
 > Otherwise it seems quite reasonable and should be installed.

Done. The option's name is `--enable-version-specific-runtime-libs'.

How about this for wwwdocs/htdocs/install/configure.html?

Index: wwwdocs/htdocs/install/configure.html
RCS file: /egcs/carton/cvsfiles/wwwdocs/htdocs/install/configure.html,v
retrieving revision 1.7
diff -u -p -r1.7 configure.html
--- configure.html	1998/06/06 01:40:46	1.7
+++ configure.html	1998/06/24 13:27:37
@@ -106,6 +106,16 @@ egcs.  A partial list of supported <tt>o
   <li> <tt>--with-cpu=</tt><i>cpu</i> -- Specify which cpu variant the compiler should
   generate code for by default.  This is currently only supported on the
   RS6000/PowerPC ports.
+  <li> <tt>--enable-version-specific-runtime-libs</tt> -- Specify that runtime
+  libraries should be installed in the compiler specific subdirectory
+  (<tt>${libsubdir}</tt>) rather than the usual places.
+  In addition, libstdc++'s include files will be installed in
+  <tt>${libsubdir}/include/g++</tt> unless you overruled it by using
+  <tt>--with-gxx-include-dir=</tt><i>dirname</i>.
+  Using this option is particularly useful if you intend to use several
+  versions of egcs/gcc in parallel. This is currently supported by <tt>libf2c</tt>
+  and <tt>libstdc++</tt>.
 <p>Some options which only apply to building cross compilers:


More information about the Gcc-patches mailing list