This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: linux->mingw cross and latest gcc snapshot
- To: Florian Wunderlich <fwunderlich at devbrain dot de>
- Subject: Re: linux->mingw cross and latest gcc snapshot
- From: Benjamin Kosnik <bkoz at redhat dot com>
- Date: Wed, 14 Mar 2001 12:59:55 -0800 (PST)
- cc: libstdc++ at gcc dot gnu dot org
> It works when I link ctype_base.h, ctype_inline.h, ctype_noninline.h,
> os_defines.h from generic. Where do these symbols come from for cygwin?
> And shouldn't they also be defined for mingw?
they depend on the underlying "C" library of the target.
Here, try this patch and see if it works. This is how you should add
support, anyway:
Index: configure.in
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/configure.in,v
retrieving revision 1.55
diff -c -p -r1.55 configure.in
*** configure.in 2001/02/26 21:47:59 1.55
--- configure.in 2001/03/14 20:55:49
*************** if test -n "$with_cross_host"; then
*** 176,181 ****
--- 176,186 ----
# AC_FUNC_MMAP
AC_DEFINE(HAVE_MMAP)
;;
+
+ *-mingw*)
+ os_include_dir="config/os/generic"
+
+ ;;
*)
# We assume newlib. This lets us hard-code the functions we know
# we'll have.