This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: --with-host-libstdcxx doesn't work as expected


Rainer Emrich <rainer@emrich-ebersheim.de> writes:

> At least on cygwin --with-host-libstdcxx doesn't work as expected.
>
> ../gcc/configure --with-host-libstdcxx=-lstdc++
> gives
> POSTSTAGE1_LIBS =
> in the top Makefile.
>
> ../gcc/configure --with-boot-libs=-lstdc++
> gives
> POSTSTAGE1_LIBS = -lstdc++
> in the top Makefile.
>
> The docs say:
>
> --with-boot-libs=libs
>     This option may be used to set libraries to be used when linking stage 2 and
> later when bootstrapping GCC. The default is the argument to
> --with-host-libstdcxx, if specified.
>
> So, that's not true.

Sorry about that.  There was a missing comma in configure.ac.  Fixed as
follows (also fixed indentation).  Committed as obvious.

Ian


2009-07-06  Ian Lance Taylor  <iant@google.com>

	* configure.ac: Add missing comma in AC_ARG_WITH(boot-libs).
	* configure: Rebuild.


Index: configure.ac
===================================================================
--- configure.ac	(revision 149291)
+++ configure.ac	(working copy)
@@ -1468,11 +1468,11 @@ AC_SUBST(poststage1_ldflags)
 # Libraries to use for stage2 and later builds.  This defaults to the
 # argument passed to --with-host-libstdcxx.
 AC_ARG_WITH(boot-libs,
-[  --with-boot-libs=LIBS     Libraries for stage2 and later]
+[  --with-boot-libs=LIBS     Libraries for stage2 and later],
 [if test "$withval" = "no" -o "$withval" = "yes"; then
    poststage1_libs=
  else
-  poststage1_libs=$withval
+   poststage1_libs=$withval
  fi],
 [poststage1_libs=$with_host_libstdcxx])
 AC_SUBST(poststage1_libs)

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]