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


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

Re: linux->mingw cross and latest gcc snapshot



> 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.


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