This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH for new flag `--enable-libs-in-libsubdir'
- To: law at cygnus dot com
- Subject: Re: PATCH for new flag `--enable-libs-in-libsubdir'
- From: Manfred Hollstein <manfred at s-direktnet dot de>
- Date: Wed, 24 Jun 1998 15:29:33 +0200 (MET DST)
- Cc: egcs-patches at cygnus dot com
- References: <13707.58705.347842.433778@saturn.hollstein.net> <21958.898671955@hurl.cygnus.com>
- Reply-To: manfred at s-direktnet dot de, Manfred dot Hollstein at ks dot sel dot alcatel dot de
On Wed, 24 June 1998, 01:05:55, law@hurl.cygnus.com wrote:
>
> In message <13707.58705.347842.433778@saturn.hollstein.net>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>.
</ul>
<p>Some options which only apply to building cross compilers:
manfred