This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Libstdc++ configure tweak for crosses
On Wed, Aug 27, 2003 at 12:55:09PM -0400, Phil Edwards wrote:
> On Wed, Aug 27, 2003 at 12:52:22PM -0400, Daniel Jacobowitz wrote:
> >
> > OK?
>
> OK.
Checked in, along with this patch, approved by Phil offlist. This
should fix cross-configuration of libstdc++-v3.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer
2003-08-27 Daniel Jacobowitz <drow@mvista.com>
* acinclude.m4: Include no-executables.m4.
* configure.ac: Uncomment GCC_NO_EXECUTABLES.
* aclocal.m4: Regenerated.
* configure: Regenerated.
Index: acinclude.m4
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/acinclude.m4,v
retrieving revision 1.266
diff -u -p -r1.266 acinclude.m4
--- acinclude.m4 27 Aug 2003 19:24:44 -0000 1.266
+++ acinclude.m4 27 Aug 2003 19:26:03 -0000
@@ -178,6 +178,7 @@ AC_DEFUN(GLIBCXX_CONFIGURE, [
m4_include([linkage.m4])
+m4_include([../config/no-executables.m4])
dnl
Index: configure.ac
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/configure.ac,v
retrieving revision 1.6
diff -u -p -r1.6 configure.ac
--- configure.ac 27 Aug 2003 19:06:55 -0000 1.6
+++ configure.ac 27 Aug 2003 19:26:03 -0000
@@ -42,7 +42,7 @@ target_alias=${target_alias-$host_alias}
if test "$build" != "$host"; then
# We are being configured with some form of cross compiler.
GLIBCXX_IS_NATIVE=false
- # GCC_NO_EXECUTABLES
+ GCC_NO_EXECUTABLES
else
GLIBCXX_IS_NATIVE=true
fi