[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[DotGNU]PATCH pnet-mingw32 was (The Mingw32 ilrun seems to run)
From: |
James Michael DuPont |
Subject: |
[DotGNU]PATCH pnet-mingw32 was (The Mingw32 ilrun seems to run) |
Date: |
Mon, 2 Dec 2002 21:32:30 -0800 (PST) |
Do to popular demand,
here is the cvs diff -u of what I got so far. Sorry I did not use the
standard patch tool, that wants to run cvs update, so I first pulled
the diff.
Note that I had problems with the ./configure, the
configure.in contains hard-coded configure options for libgc and
libfii, this makes it very hard to cross compile.
Without futher ado, the patch.
First of all, a new file,
libgc/mingw32.h
/* Nasty and permanent hacks to work around __try garbage
this is not standard! address@hidden 2002
*/
#if defined(__MINGW32__)
#define __try
#define __except(x) if(0)
/*ooohhh nasty indeed!*/
#define __finally
#endif
Now the patch
Index: aclocal.m4
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/Attic/aclocal.m4,v
retrieving revision 1.2
diff -r1.2 aclocal.m4
1c1
< dnl aclocal.m4 generated automatically by aclocal 1.4
---
> dnl aclocal.m4t generated automatically by aclocal 1.4-p6
3c3
< dnl Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
---
> dnl Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation,
Inc.
22,23c22,24
< AC_DEFUN(AM_INIT_AUTOMAKE,
< [AC_REQUIRE([AC_PROG_INSTALL])
---
> AC_DEFUN([AM_INIT_AUTOMAKE],
> [AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
> AC_REQUIRE([AC_PROG_INSTALL])
39c40
< AM_MISSING_PROG(ACLOCAL, aclocal, $missing_dir)
---
> AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version}, $missing_dir)
41c42
< AM_MISSING_PROG(AUTOMAKE, automake, $missing_dir)
---
> AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version}, $missing_dir)
45a47,75
> # Copyright 2002 Free Software Foundation, Inc.
>
> # This program is free software; you can redistribute it and/or
modify
> # it under the terms of the GNU General Public License as published
by
> # the Free Software Foundation; either version 2, or (at your option)
> # any later version.
>
> # This program is distributed in the hope that it will be useful,
> # but WITHOUT ANY WARRANTY; without even the implied warranty of
> # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> # GNU General Public License for more details.
>
> # You should have received a copy of the GNU General Public License
> # along with this program; if not, write to the Free Software
> # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
>
> # AM_AUTOMAKE_VERSION(VERSION)
> # ----------------------------
> # Automake X.Y traces this macro to ensure aclocal.m4 has been
> # generated from the m4 files accompanying Automake X.Y.
> AC_DEFUN([AM_AUTOMAKE_VERSION],[am__api_version="1.4"])
>
> # AM_SET_CURRENT_AUTOMAKE_VERSION
> # -------------------------------
> # Call AM_AUTOMAKE_VERSION so it can be traced.
> # This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
> AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
> [AM_AUTOMAKE_VERSION([1.4-p6])])
>
50c80
< AC_DEFUN(AM_SANITY_CHECK,
---
> AC_DEFUN([AM_SANITY_CHECK],
91c121
< AC_DEFUN(AM_MISSING_PROG,
---
> AC_DEFUN([AM_MISSING_PROG],
107c137
< AC_DEFUN(AM_CONFIG_HEADER,
---
> AC_DEFUN([AM_CONFIG_HEADER],
133c163
< AC_DEFUN(AM_MAINTAINER_MODE,
---
> AC_DEFUN([AM_MAINTAINER_MODE],
150c180
< AC_DEFUN(AM_CONDITIONAL,
---
> AC_DEFUN([AM_CONDITIONAL],
164c194
< AC_DEFUN(AM_PROG_LEX,
---
> AC_DEFUN([AM_PROG_LEX],
Index: config.guess
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/config.guess,v
retrieving revision 1.2
diff -r1.2 config.guess
6c6,7
< timestamp='2002-03-04'
---
> #&& rm -f $dummy.c $dummy
> timestamp='2002-11-30'
64a66,68
> echo i586-mingw32msvc
> exit 0;
>
92c96
< dummy=dummy-$$
---
> dummy="dummy-$$"
275c279
< rm -f $dummy.s $dummy
---
> # rm -f $dummy.s $dummy
424,425c428,430
< && rm -f $dummy.c $dummy && exit 0
< rm -f $dummy.c $dummy
---
> exit 0
> # && exit 0
> # rm -f $dummy.c $dummy
503c508,509
< $CC_FOR_BUILD $dummy.c -o $dummy && ./$dummy && rm -f $dummy.c
$dummy && exit 0
---
> $CC_FOR_BUILD $dummy.c -o $dummy && ./$dummy && exit 0
> # && exit 0
604c610
< rm -f $dummy.c $dummy
---
> # rm -f $dummy.c $dummy
640c646,647
< $CC_FOR_BUILD $dummy.c -o $dummy && ./$dummy && rm -f $dummy.c
$dummy && exit 0
---
> $CC_FOR_BUILD $dummy.c -o $dummy && ./$dummy && exit 0
> # &&
1244,1245c1251,1252
< $CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null && ./$dummy && rm -f
$dummy.c $dummy && exit 0
< rm -f $dummy.c $dummy
---
> $CC_FOR_BUILD $dummy.c -o $dummy 2>/dev/null && ./$dummy && exit 0
> #rm -f $dummy.c $dummy
Index: csunit/Makefile.in
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/csunit/Attic/Makefile.in,v
retrieving revision 1.2
diff -r1.2 Makefile.in
1c1
< # Makefile.in generated automatically by automake 1.4 from
Makefile.am
---
> # Makefile.in generated automatically by automake 1.4-p6 from
Makefile.am
3c3
< # Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
---
> # Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation,
Inc.
110c110
< TAR = gtar
---
> TAR = tar
Index: debian/changelog
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/debian/changelog,v
retrieving revision 1.3
diff -r1.3 changelog
1,48c1
< pnet (0.4.2-1) unstable; urgency=low
<
< * New upstream release
<
< -- Andrew Mitchell <address@hidden> Thu, 25 Jul 2002
15:47:20 +1200
<
< pnet (0.4.0-1) unstable; urgency=low
<
< * New upstream release
<
< -- Andrew Mitchell <address@hidden> Sun, 30 Jun 2002
15:13:05 +1200
<
< pnet (0.3.8-1) unstable; urgency=low
<
< * New upstream release, package has been split
<
< -- Andrew Mitchell <address@hidden> Mon, 10 Jun 2002
22:53:41 +1200
<
< pnet (0.3.6-1) unstable; urgency=low
<
< * New upstream release
<
< -- Andrew Mitchell <address@hidden> Sat, 11 May 2002
15:27:21 +1200
<
< pnet (0.3.4-2) unstable; urgency=low
<
< * Fix packaging bugs
<
< -- Andrew Mitchell <address@hidden> Sun, 21 Apr 2002
10:55:10 +1200
<
< pnet (0.3.4-1) unstable; urgency=low
<
< * New upstream release
<
< -- Andrew Mitchell <address@hidden> Sat, 20 Apr 2002
18:36:26 +1300
<
< pnet (0.2.8-1) unstable; urgency=low
<
< * New upstream release.
<
< -- Andrew Mitchell <address@hidden> Fri, 18 Jan 2002
18:36:26 +1300
<
< pnet (0.2.6-1) unstable; urgency=low
<
< * Initial Release.
<
< -- Andrew Mitchell <address@hidden> Tue, 4 Dec 2001
13:36:26 +1300
<
---
> pnet-mingw32 (0.4.2-1) unstable; urgency=low
49a3,6
> * hacked into mingw32
> * thanks to ajmitch for the debian package!
>
> -- James Michael DuPont <address@hidden> Sat, 30 Nov 2002
20:01:14 +1000
Index: debian/control
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/debian/control,v
retrieving revision 1.2
diff -r1.2 control
1c1
< Source: pnet
---
> Source: pnet-mingw32
4c4
< Maintainer: Andrew Mitchell <address@hidden>
---
> Maintainer: James Michael DuPont <address@hidden>
8c8
< Package: pnet
---
> Package: pnet-mingw32
10,12c10,12
< Depends: pnet-compiler (= ${Source-Version}), pnet-interpreter (=
${Source-Version})
< Conflicts: pnet (<< ${Source-Version})
< Replaces: pnet (<< ${Source-Version})
---
> Depends: pnet-compiler-mingw32 (= ${Source-Version}),
pnet-interpreter (= ${Source-Version})
> Conflicts: pnet-mingw32 (<< ${Source-Version})
> Replaces: pnet-mingw32 (<< ${Source-Version})
18c18
< Package: pnet-compiler
---
> Package: pnet-compiler-mingw32
21,23c21,23
< Provides: c-sharp-compiler
< Conflicts: pnet (<< ${Source-Version})
< Replaces: pnet (<< ${Source-Version})
---
> Provides: c-sharp-compiler-mingw32
> Conflicts: pnet-mingw32 (<< ${Source-Version})
> Replaces: pnet-mingw32 (<< ${Source-Version})
30c30
< Package: pnet-interpreter
---
> Package: pnet-interpreter-mingw32
33,35c33,35
< Provides: cli-virtual-machine
< Conflicts: pnet (<< ${Source-Version})
< Replaces: pnet (<< ${Source-Version})
---
> Provides: cli-virtual-machine-mingw32
> Conflicts: pnet-mingw32 (<< ${Source-Version})
> Replaces: pnet-mingw32 (<< ${Source-Version})
39c39
< Package: pnet-runtime
---
> Package: pnet-runtime-mingw32
42,43c42,43
< Provides: cli-runtime
< Conflicts: pnet (<< ${Source-Version})
---
> Provides: cli-runtime-mingw32
> Conflicts: pnet-mingw32 (<< ${Source-Version})
48c48
< Package: pnet-dev
---
> Package: pnet-dev-mingw32
Index: debian/pnet.substvars
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/debian/pnet.substvars,v
retrieving revision 1.1
diff -r1.1 pnet.substvars
1c1
< shlibs:Depends=libc6 (>= 2.2.4-4), libncurses5 (>= 5.2.20020112a-1),
libreadline4 (>= 4.2a-4)
---
> shlibs:Depends=libc6 (>= 2.3.1-1)
Index: debian/rules
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/debian/rules,v
retrieving revision 1.2
diff -r1.2 rules
10c10,15
< #export DH_VERBOSE=1
---
> export DH_VERBOSE=1
>
> export CFLAGS=-DGLIB_STATIC_COMPILATION -Wall -D_REENTRANT
-I/usr/local/win32/include
> export LIBS=-L/usr/local/win32/lib/
> DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
> DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
19c24,32
< ./configure --prefix=/usr --mandir=\$${prefix}/share/man
--infodir=\$${prefix}/share/info
---
> ./configure --host=i586-mingw32msvc \
> --build=$(DEB_BUILD_GNU_TYPE) \
> --cache-file="cross-config.cache" \
> --prefix=/usr/local/win32 \
> --mandir=\$${prefix}/share/man \
> --infodir=\$${prefix}/share/info \
> --mandir=\$${prefix}/share/man \
> --infodir=\$${prefix}/share/info \
> --disable-shared
29c42
<
---
>
39,40c52
< rm -f libffi/t-*
<
---
> rm -f libffi/t-*
51,53c63,65
< $(MAKE) install DESTDIR=$(CURDIR)/debian/pnet
< #cp -a samples/System $(CURDIR)/debian/pnet/usr/share/doc/pnet
< dh_movefiles --sourcedir=debian/pnet
---
> $(MAKE) install DESTDIR=$(CURDIR)/debian/pnet-mingw32
> #cp -a samples/System
$(CURDIR)/debian/pnet-mingw32/usr/local/windows/share/doc/pnet-
> dh_movefiles --sourcedir=debian/pnet-mingw32
Index: engine/HACKING
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/engine/HACKING,v
retrieving revision 1.7
diff -r1.7 HACKING
251a252,253
> TODO : Describe how this is implemented!!
>
Index: engine/int_proto.h
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/engine/int_proto.h,v
retrieving revision 1.31
diff -r1.31 int_proto.h
2c2,4
<
---
> /*
> replaced errno variable name pnet_errno pnet_errno
> */
417c419
< extern ILString * _IL_FileMethods_GetErrnoMessage(ILExecThread *
_thread, ILInt32 errno);
---
> extern ILString * _IL_FileMethods_GetErrnoMessage(ILExecThread *
_thread, ILInt32 pnet_errno);
487c489
< extern ILString * _IL_SocketMethods_GetErrnoMessage(ILExecThread *
_thread, ILInt32 errno);
---
> extern ILString * _IL_SocketMethods_GetErrnoMessage(ILExecThread *
_thread, ILInt32 pnet_errno);
Index: engine/lib_socket.c
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/engine/lib_socket.c,v
retrieving revision 1.7
diff -r1.7 lib_socket.c
37a38,50
> #ifdef WIN32
>
> #include <windows.h>
> #include <winsock.h>
> #include <errno.h>
> #include <string.h>
> //#undef STRICT
> #undef MAX_PRIORITY
> #undef MIN_PRIORITY
> #undef FIONREAD
>
> #endif
>
Index: ilheader/ilheader.c
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/ilheader/ilheader.c,v
retrieving revision 1.1
diff -r1.1 ilheader.c
420c420
< fputs("/* This file is automatically generated - do not edit
*/\n\n",
---
> fputs("/* This file is automatically generated by
pnet/ilheader/ilheader.c - do not edit */\n\n",
Index: ilnative/ilinternal.c
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/ilnative/ilinternal.c,v
retrieving revision 1.5
diff -r1.5 ilinternal.c
260c260
< "/* This file is automatically generated - do not edit
*/\n\n");
---
> "/* This file is automatically generated by
ilnative/ilinternal.c - do not edit */\n\n");
Index: include/il_config.h.in
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/include/Attic/il_config.h.in,v
retrieving revision 1.28
diff -r1.28 il_config.h.in
1,39c1
< /* include/il_config.h.in. Generated automatically from configure.in
by autoheader. */
<
< /* Define if using alloca.c. */
< #undef C_ALLOCA
<
< /* Define to empty if the keyword does not work. */
< #undef const
<
< /* Define to one of _getb67, GETB67, getb67 for Cray-2 and Cray-YMP
systems.
< This function is required for alloca.c support on those systems.
*/
< #undef CRAY_STACKSEG_END
<
< /* Define if you have alloca, as a function or macro. */
< #undef HAVE_ALLOCA
<
< /* Define if you have <alloca.h> and it should be used (not on
Ultrix). */
< #undef HAVE_ALLOCA_H
<
< /* Define if you have <sys/wait.h> that is POSIX.1 compatible. */
< #undef HAVE_SYS_WAIT_H
<
< /* If using the C implementation of alloca, define if you know the
< direction of stack growth for your system; otherwise it will be
< automatically deduced at run-time.
< STACK_DIRECTION > 0 => grows toward higher addresses
< STACK_DIRECTION < 0 => grows toward lower addresses
< STACK_DIRECTION = 0 => direction of growth unknown
< */
< #undef STACK_DIRECTION
<
< /* Define if you have the ANSI C header files. */
< #undef STDC_HEADERS
<
< /* Define if you can safely include both <sys/time.h> and <time.h>.
*/
< #undef TIME_WITH_SYS_TIME
<
< /* Define if lex declares yytext as a char * by default, not a
char[]. */
< #undef YYTEXT_POINTER
<
---
> /* include/il_config.h.in. Generated from configure.in by
autoheader. */
72,82c34,37
< /* The number of bytes in a double. */
< #undef SIZEOF_DOUBLE
<
< /* The number of bytes in a float. */
< #undef SIZEOF_FLOAT
<
< /* The number of bytes in a int. */
< #undef SIZEOF_INT
<
< /* The number of bytes in a long. */
< #undef SIZEOF_LONG
---
> /* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and
Cray-YMP
> systems. This function is required for `alloca.c' support on those
systems.
> */
> #undef CRAY_STACKSEG_END
84,85c39,40
< /* The number of bytes in a long double. */
< #undef SIZEOF_LONG_DOUBLE
---
> /* Define to 1 if using `alloca.c'. */
> #undef C_ALLOCA
87,88c42,43
< /* The number of bytes in a long long. */
< #undef SIZEOF_LONG_LONG
---
> /* Define to 1 if you have the `acos' function. */
> #undef HAVE_ACOS
90,91c45,46
< /* The number of bytes in a void *. */
< #undef SIZEOF_VOID_P
---
> /* Define to 1 if you have `alloca', as a function or macro. */
> #undef HAVE_ALLOCA
93,94c48,50
< /* Define if you have the acos function. */
< #undef HAVE_ACOS
---
> /* Define to 1 if you have <alloca.h> and it should be used (not on
Ultrix).
> */
> #undef HAVE_ALLOCA_H
96c52
< /* Define if you have the asin function. */
---
> /* Define to 1 if you have the `asin' function. */
99c55
< /* Define if you have the atan function. */
---
> /* Define to 1 if you have the `atan' function. */
102c58
< /* Define if you have the atan2 function. */
---
> /* Define to 1 if you have the `atan2' function. */
105c61
< /* Define if you have the bcmp function. */
---
> /* Define to 1 if you have the `bcmp' function. */
108c64
< /* Define if you have the bcopy function. */
---
> /* Define to 1 if you have the `bcopy' function. */
111c67
< /* Define if you have the bzero function. */
---
> /* Define to 1 if you have the `bzero' function. */
114c70
< /* Define if you have the ceil function. */
---
> /* Define to 1 if you have the `ceil' function. */
117c73
< /* Define if you have the closedir function. */
---
> /* Define to 1 if you have the `closedir' function. */
120c76
< /* Define if you have the cos function. */
---
> /* Define to 1 if you have the `cos' function. */
123c79
< /* Define if you have the cosh function. */
---
> /* Define to 1 if you have the `cosh' function. */
126c82
< /* Define if you have the cygwin_conv_to_win32_path function. */
---
> /* Define to 1 if you have the `cygwin_conv_to_win32_path' function.
*/
129c85,91
< /* Define if you have the dlopen function. */
---
> /* Define to 1 if you have the <dirent.h> header file. */
> #undef HAVE_DIRENT_H
>
> /* Define to 1 if you have the <dlfcn.h> header file. */
> #undef HAVE_DLFCN_H
>
> /* Define to 1 if you have the `dlopen' function. */
132c94
< /* Define if you have the execv function. */
---
> /* Define to 1 if you have the `execv' function. */
135c97
< /* Define if you have the exp function. */
---
> /* Define to 1 if you have the `exp' function. */
138c100
< /* Define if you have the fcntl function. */
---
> /* Define to 1 if you have the `fcntl' function. */
141c103,106
< /* Define if you have the finite function. */
---
> /* Define to 1 if you have the <fcntl.h> header file. */
> #undef HAVE_FCNTL_H
>
> /* Define to 1 if you have the `finite' function. */
144c109
< /* Define if you have the floor function. */
---
> /* Define to 1 if you have the `floor' function. */
147c112
< /* Define if you have the fmod function. */
---
> /* Define to 1 if you have the `fmod' function. */
150c115
< /* Define if you have the fork function. */
---
> /* Define to 1 if you have the `fork' function. */
153c118
< /* Define if you have the ftruncate function. */
---
> /* Define to 1 if you have the `ftruncate' function. */
156,159c121
< /* Define if you have the get_current_dir_name function. */
< #undef HAVE_GET_CURRENT_DIR_NAME
<
< /* Define if you have the getcwd function. */
---
> /* Define to 1 if you have the `getcwd' function. */
162c124
< /* Define if you have the gethostbyaddr function. */
---
> /* Define to 1 if you have the `gethostbyaddr' function. */
165c127
< /* Define if you have the gethostbyname function. */
---
> /* Define to 1 if you have the `gethostbyname' function. */
168c130
< /* Define if you have the getpagesize function. */
---
> /* Define to 1 if you have the `getpagesize' function. */
171c133
< /* Define if you have the getpid function. */
---
> /* Define to 1 if you have the `getpid' function. */
174c136
< /* Define if you have the gettimeofday function. */
---
> /* Define to 1 if you have the `gettimeofday' function. */
177c139
< /* Define if you have the getwd function. */
---
> /* Define to 1 if you have the `getwd' function. */
180c142,151
< /* Define if you have the isinf function. */
---
> /* Define to 1 if you have the `get_current_dir_name' function. */
> #undef HAVE_GET_CURRENT_DIR_NAME
>
> /* Define to 1 if you have the <ieeefp.h> header file. */
> #undef HAVE_IEEEFP_H
>
> /* Define to 1 if you have the <inttypes.h> header file. */
> #undef HAVE_INTTYPES_H
>
> /* Define to 1 if you have the `isinf' function. */
183c154
< /* Define if you have the isnan function. */
---
> /* Define to 1 if you have the `isnan' function. */
186c157,175
< /* Define if you have the log function. */
---
> /* Define to 1 if you have the <langinfo.h> header file. */
> #undef HAVE_LANGINFO_H
>
> /* Define to 1 if you have the `dl' library (-ldl). */
> #undef HAVE_LIBDL
>
> /* Define to 1 if you have the `m' library (-lm). */
> #undef HAVE_LIBM
>
> /* Define to 1 if you have the `nsl' library (-lnsl). */
> #undef HAVE_LIBNSL
>
> /* Define to 1 if you have the `socket' library (-lsocket). */
> #undef HAVE_LIBSOCKET
>
> /* Define to 1 if you have the <locale.h> header file. */
> #undef HAVE_LOCALE_H
>
> /* Define to 1 if you have the `log' function. */
189c178
< /* Define if you have the log10 function. */
---
> /* Define to 1 if you have the `log10' function. */
192c181,184
< /* Define if you have the mbrtowc function. */
---
> /* Define to 1 if you have the <math.h> header file. */
> #undef HAVE_MATH_H
>
> /* Define to 1 if you have the `mbrtowc' function. */
195c187
< /* Define if you have the mbtowc function. */
---
> /* Define to 1 if you have the `mbtowc' function. */
198c190
< /* Define if you have the memchr function. */
---
> /* Define to 1 if you have the `memchr' function. */
201c193
< /* Define if you have the memcmp function. */
---
> /* Define to 1 if you have the `memcmp' function. */
204c196
< /* Define if you have the memcpy function. */
---
> /* Define to 1 if you have the `memcpy' function. */
207c199
< /* Define if you have the memmove function. */
---
> /* Define to 1 if you have the `memmove' function. */
210c202,205
< /* Define if you have the memset function. */
---
> /* Define to 1 if you have the <memory.h> header file. */
> #undef HAVE_MEMORY_H
>
> /* Define to 1 if you have the `memset' function. */
213c208
< /* Define if you have the mmap function. */
---
> /* Define to 1 if you have the `mmap' function. */
216c211
< /* Define if you have the munmap function. */
---
> /* Define to 1 if you have the `munmap' function. */
219c214,220
< /* Define if you have the nl_langinfo function. */
---
> /* Define to 1 if you have the <netdb.h> header file. */
> #undef HAVE_NETDB_H
>
> /* Define to 1 if you have the <netinet/in.h> header file. */
> #undef HAVE_NETINET_IN_H
>
> /* Define to 1 if you have the `nl_langinfo' function. */
222c223
< /* Define if you have the open function. */
---
> /* Define to 1 if you have the `open' function. */
225c226
< /* Define if you have the opendir function. */
---
> /* Define to 1 if you have the `opendir' function. */
228c229
< /* Define if you have the pow function. */
---
> /* Define to 1 if you have the `pow' function. */
231c232
< /* Define if you have the qsort function. */
---
> /* Define to 1 if you have the `qsort' function. */
234,237c235
< /* Define if you have the re_comp function. */
< #undef HAVE_RE_COMP
<
< /* Define if you have the readdir function. */
---
> /* Define to 1 if you have the `readdir' function. */
240c238
< /* Define if you have the readdir_r function. */
---
> /* Define to 1 if you have the `readdir_r' function. */
243c241,247
< /* Define if you have the regcomp function. */
---
> /* Define to 1 if you have the <readline/history.h> header file. */
> #undef HAVE_READLINE_HISTORY_H
>
> /* Define to 1 if you have the <readline/readline.h> header file. */
> #undef HAVE_READLINE_READLINE_H
>
> /* Define to 1 if you have the `regcomp' function. */
245a250,254
>
> /* Define to 1 if you have the <regex.h> header file. */
> #undef HAVE_REGEX_H
>
> /* Define to 1 if you have the `remainder' function. */
258c267
< /* Define if you have the remove function. */
---
> /* Define to 1 if you have the `remove' function. */
261c270,273
< /* Define if you have the rint function. */
---
> /* Define to 1 if you have the `re_comp' function. */
> #undef HAVE_RE_COMP
>
> /* Define to 1 if you have the `rint' function. */
264c276
< /* Define if you have the setlocale function. */
---
> /* Define to 1 if you have the `setlocale' function. */
267c279
< /* Define if you have the sin function. */
---
> /* Define to 1 if you have the `sin' function. */
270c282
< /* Define if you have the sinh function. */
---
> /* Define to 1 if you have the `sinh' function. */
273c285
< /* Define if you have the snprintf function. */
---
> /* Define to 1 if you have the `snprintf' function. */
276c288
< /* Define if you have the sqrt function. */
---
> /* Define to 1 if you have the `sqrt' function. */
279c291
< /* Define if you have the stat function. */
---
> /* Define to 1 if you have the `stat' function. */
282,283c294,295
< /* Define if you have the strerror function. */
< #undef HAVE_STRERROR
---
> /* Define to 1 if you have the <stdarg.h> header file. */
> #undef HAVE_STDARG_H
285,286c297,298
< /* Define if you have the strtod function. */
< #undef HAVE_STRTOD
---
> /* Define to 1 if you have the <stdint.h> header file. */
> #undef HAVE_STDINT_H
288,289c300,301
< /* Define if you have the tan function. */
< #undef HAVE_TAN
---
> /* Define to 1 if you have the <stdlib.h> header file. */
> #undef HAVE_STDLIB_H
291,292c303,304
< /* Define if you have the tanh function. */
< #undef HAVE_TANH
---
> /* Define to 1 if you have the `strerror' function. */
> #undef HAVE_STRERROR
294,295c306,307
< /* Define if you have the unlink function. */
< #undef HAVE_UNLINK
---
> /* Define to 1 if you have the <strings.h> header file. */
> #undef HAVE_STRINGS_H
297,298c309,310
< /* Define if you have the usleep function. */
< #undef HAVE_USLEEP
---
> /* Define to 1 if you have the <string.h> header file. */
> #undef HAVE_STRING_H
300,301c312,313
< /* Define if you have the vfprintf function. */
< #undef HAVE_VFPRINTF
---
> /* Define to 1 if you have the `strtod' function. */
> #undef HAVE_STRTOD
303,304c315,316
< /* Define if you have the wait function. */
< #undef HAVE_WAIT
---
> /* Define to 1 if you have the <sys/cygwin.h> header file. */
> #undef HAVE_SYS_CYGWIN_H
306,307c318,319
< /* Define if you have the waitpid function. */
< #undef HAVE_WAITPID
---
> /* Define to 1 if you have the <sys/mman.h> header file. */
> #undef HAVE_SYS_MMAN_H
309,310c321,322
< /* Define if you have the wcrtomb function. */
< #undef HAVE_WCRTOMB
---
> /* Define to 1 if you have the <sys/select.h> header file. */
> #undef HAVE_SYS_SELECT_H
312,313c324,325
< /* Define if you have the wctomb function. */
< #undef HAVE_WCTOMB
---
> /* Define to 1 if you have the <sys/socket.h> header file. */
> #undef HAVE_SYS_SOCKET_H
315,316c327,328
< /* Define if you have the <dirent.h> header file. */
< #undef HAVE_DIRENT_H
---
> /* Define to 1 if you have the <sys/stat.h> header file. */
> #undef HAVE_SYS_STAT_H
318,319c330,331
< /* Define if you have the <dlfcn.h> header file. */
< #undef HAVE_DLFCN_H
---
> /* Define to 1 if you have the <sys/time.h> header file. */
> #undef HAVE_SYS_TIME_H
321,322c333,334
< /* Define if you have the <fcntl.h> header file. */
< #undef HAVE_FCNTL_H
---
> /* Define to 1 if you have the <sys/types.h> header file. */
> #undef HAVE_SYS_TYPES_H
324,325c336,337
< /* Define if you have the <ieeefp.h> header file. */
< #undef HAVE_IEEEFP_H
---
> /* Define to 1 if you have <sys/wait.h> that is POSIX.1 compatible.
*/
> #undef HAVE_SYS_WAIT_H
327,328c339,340
< /* Define if you have the <langinfo.h> header file. */
< #undef HAVE_LANGINFO_H
---
> /* Define to 1 if you have the `tan' function. */
> #undef HAVE_TAN
330,331c342,343
< /* Define if you have the <locale.h> header file. */
< #undef HAVE_LOCALE_H
---
> /* Define to 1 if you have the `tanh' function. */
> #undef HAVE_TANH
333,334c345,346
< /* Define if you have the <math.h> header file. */
< #undef HAVE_MATH_H
---
> /* Define to 1 if you have the <unistd.h> header file. */
> #undef HAVE_UNISTD_H
336,337c348,349
< /* Define if you have the <memory.h> header file. */
< #undef HAVE_MEMORY_H
---
> /* Define to 1 if you have the `unlink' function. */
> #undef HAVE_UNLINK
339,340c351,352
< /* Define if you have the <netdb.h> header file. */
< #undef HAVE_NETDB_H
---
> /* Define to 1 if you have the `usleep' function. */
> #undef HAVE_USLEEP
342,343c354,355
< /* Define if you have the <netinet/in.h> header file. */
< #undef HAVE_NETINET_IN_H
---
> /* Define to 1 if you have the <varargs.h> header file. */
> #undef HAVE_VARARGS_H
345,346c357,358
< /* Define if you have the <readline/history.h> header file. */
< #undef HAVE_READLINE_HISTORY_H
---
> /* Define to 1 if you have the `vfprintf' function. */
> #undef HAVE_VFPRINTF
348,349c360,361
< /* Define if you have the <readline/readline.h> header file. */
< #undef HAVE_READLINE_READLINE_H
---
> /* Define to 1 if you have the `wait' function. */
> #undef HAVE_WAIT
351,352c363,364
< /* Define if you have the <regex.h> header file. */
< #undef HAVE_REGEX_H
---
> /* Define to 1 if you have the `waitpid' function. */
> #undef HAVE_WAITPID
354,355c366,367
< /* Define if you have the <stdarg.h> header file. */
< #undef HAVE_STDARG_H
---
> /* Define to 1 if you have the <wchar.h> header file. */
> #undef HAVE_WCHAR_H
357,358c369,370
< /* Define if you have the <stdlib.h> header file. */
< #undef HAVE_STDLIB_H
---
> /* Define to 1 if you have the `wcrtomb' function. */
> #undef HAVE_WCRTOMB
360,361c372,373
< /* Define if you have the <string.h> header file. */
< #undef HAVE_STRING_H
---
> /* Define to 1 if you have the `wctomb' function. */
> #undef HAVE_WCTOMB
363,364c375,376
< /* Define if you have the <strings.h> header file. */
< #undef HAVE_STRINGS_H
---
> /* Name of package */
> #undef PACKAGE
366,367c378,379
< /* Define if you have the <sys/cygwin.h> header file. */
< #undef HAVE_SYS_CYGWIN_H
---
> /* Define to the address where bug reports for this package should be
sent. */
> #undef PACKAGE_BUGREPORT
369,370c381,382
< /* Define if you have the <sys/mman.h> header file. */
< #undef HAVE_SYS_MMAN_H
---
> /* Define to the full name of this package. */
> #undef PACKAGE_NAME
372,373c384,385
< /* Define if you have the <sys/select.h> header file. */
< #undef HAVE_SYS_SELECT_H
---
> /* Define to the full name and version of this package. */
> #undef PACKAGE_STRING
375,376c387,388
< /* Define if you have the <sys/socket.h> header file. */
< #undef HAVE_SYS_SOCKET_H
---
> /* Define to the one symbol short name of this package. */
> #undef PACKAGE_TARNAME
378,379c390,391
< /* Define if you have the <sys/stat.h> header file. */
< #undef HAVE_SYS_STAT_H
---
> /* Define to the version of this package. */
> #undef PACKAGE_VERSION
381,382c393,394
< /* Define if you have the <sys/time.h> header file. */
< #undef HAVE_SYS_TIME_H
---
> /* The size of a `double', as computed by sizeof. */
> #undef SIZEOF_DOUBLE
384,385c396,397
< /* Define if you have the <sys/types.h> header file. */
< #undef HAVE_SYS_TYPES_H
---
> /* The size of a `float', as computed by sizeof. */
> #undef SIZEOF_FLOAT
387,388c399,400
< /* Define if you have the <unistd.h> header file. */
< #undef HAVE_UNISTD_H
---
> /* The size of a `int', as computed by sizeof. */
> #undef SIZEOF_INT
390,391c402,403
< /* Define if you have the <varargs.h> header file. */
< #undef HAVE_VARARGS_H
---
> /* The size of a `long', as computed by sizeof. */
> #undef SIZEOF_LONG
393,394c405,406
< /* Define if you have the <wchar.h> header file. */
< #undef HAVE_WCHAR_H
---
> /* The size of a `long double', as computed by sizeof. */
> #undef SIZEOF_LONG_DOUBLE
396,397c408,409
< /* Define if you have the dl library (-ldl). */
< #undef HAVE_LIBDL
---
> /* The size of a `long long', as computed by sizeof. */
> #undef SIZEOF_LONG_LONG
399,400c411,412
< /* Define if you have the m library (-lm). */
< #undef HAVE_LIBM
---
> /* The size of a `void *', as computed by sizeof. */
> #undef SIZEOF_VOID_P
402,403c414,420
< /* Define if you have the nsl library (-lnsl). */
< #undef HAVE_LIBNSL
---
> /* If using the C implementation of alloca, define if you know the
> direction of stack growth for your system; otherwise it will be
> automatically deduced at run-time.
> STACK_DIRECTION > 0 => grows toward higher addresses
> STACK_DIRECTION < 0 => grows toward lower addresses
> STACK_DIRECTION = 0 => direction of growth unknown */
> #undef STACK_DIRECTION
405,406c422,423
< /* Define if you have the socket library (-lsocket). */
< #undef HAVE_LIBSOCKET
---
> /* Define to 1 if you have the ANSI C header files. */
> #undef STDC_HEADERS
408,409c425,426
< /* Name of package */
< #undef PACKAGE
---
> /* Define to 1 if you can safely include both <sys/time.h> and
<time.h>. */
> #undef TIME_WITH_SYS_TIME
413a431,436
> /* Define to 1 if `lex' declares `yytext' as a `char *' by default,
not a
> `char[]'. */
> #undef YYTEXT_POINTER
>
> /* Define to empty if `const' does not conform to ANSI C. */
> #undef const
Index: libffi/Makefile.in
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/libffi/Makefile.in,v
retrieving revision 1.4
diff -r1.4 Makefile.in
164c164
< ffitest_LDFLAGS = -shared-libgcc
---
> ffitest_LDFLAGS = -shared-libgcc -static -all-static
321c321
< CFLAGS = @CFLAGS@
---
> CFLAGS = @CFLAGS@ -static
Index: libgc/mark.c
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/libgc/mark.c,v
retrieving revision 1.3
diff -r1.3 mark.c
21a22,23
> #include "mingw32.h" /*dont think that this is temporary, get real!*/
>
26a29
>
Index: libgc/win32_threads.c
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/libgc/win32_threads.c,v
retrieving revision 1.2
diff -r1.2 win32_threads.c
4a5,6
> #include "mingw32.h" /*dont think that this is temporary, get real!*/
>
Index: profiles/mkprofile.sh
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/profiles/mkprofile.sh,v
retrieving revision 1.2
diff -r1.2 mkprofile.sh
42c42
< echo '/* This file is automatically generated. Do not edit */'
>>"$HEADER"
---
> echo '/* This file is automatically generated. my
pnte/profiles/mkprofile.sh Do not edit */' >>"$HEADER"
Index: support/Makefile.am
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/support/Makefile.am,v
retrieving revision 1.39
diff -r1.39 Makefile.am
46a47
> mingw32.c \
Index: support/cmdline.c
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/support/cmdline.c,v
retrieving revision 1.3
diff -r1.3 cmdline.c
307a308
>
309a311,312
>
> #ifndef __MINGW32__
311a315
> #endif
Index: support/dir.c
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/support/dir.c,v
retrieving revision 1.6
diff -r1.6 dir.c
43a44,45
>
>
44a47,53
>
> #ifdef __MINGW32__
> // see http://www.cygwin.com/ml/cygwin/1998-02/msg00359.html
> #define lstat stat
> #endif
>
>
Index: support/filemap.c
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/support/filemap.c,v
retrieving revision 1.3
diff -r1.3 filemap.c
30c30
< #include <sys/mman.h>
---
> #include <sys/mman.h>
36a37,44
>
> #if defined(__MINGW32__)
> #undef IL_USE_WIN32_MMAP
> /* We don't have any way to map files */
> #define mmapPerform(fd,offset,len,end) (0)
> #define mmapInvalid(addr) (1)
>
> #endif
Index: support/mkcategory.c
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/support/mkcategory.c,v
retrieving revision 1.1.1.1
diff -r1.1.1.1 mkcategory.c
253c253
< printf("/* This file is automatically generated - do not edit
*/\n");
---
> printf("/* This file is automatically generated by -
pnet/support/mkcategory.c do not edit */\n");
Index: support/mknumber.c
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/support/mknumber.c,v
retrieving revision 1.1
diff -r1.1 mknumber.c
199c199
< printf("/* This file is automatically generated - do not edit
*/\n");
---
> printf("/* This file is automatically generated - by
pnet/support/mknumber do not edit */\n");
Index: support/socket.c
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/support/socket.c,v
retrieving revision 1.6
diff -r1.6 socket.c
48a49,63
>
> #ifdef WIN32
>
> #include <windows.h>
> #include <winsock.h>
> #include <errno.h>
> #include <string.h>
> #include <time.h>
> //#undef STRICT
> #undef MAX_PRIORITY
> #undef MIN_PRIORITY
> #undef FIONREAD
>
> #endif
>
=====
James Michael DuPont
http://introspector.sourceforge.net/
__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
- FW: [DotGNU]The Mingw32 ilrun seems to run, (continued)
- FW: [DotGNU]The Mingw32 ilrun seems to run, Simon Guindon, 2002/12/01
- Re: FW: [DotGNU]The Mingw32 ilrun seems to run, Fergus Henderson, 2002/12/02
- Re: FW: [DotGNU]The Mingw32 ilrun seems to run, Gopal V, 2002/12/02
- Re: FW: [DotGNU]The Mingw32 ilrun seems to run, James Michael DuPont, 2002/12/02
- Re: FW: [DotGNU]The Mingw32 ilrun seems to run, Rhys Weatherley, 2002/12/02
- Re: FW: [DotGNU]The Mingw32 ilrun seems to run, James Michael DuPont, 2002/12/02
- Re: FW: [DotGNU]The Mingw32 ilrun seems to run, Simon Guindon, 2002/12/02
- Re: FW: [DotGNU]The Mingw32 ilrun seems to run, Rhys Weatherley, 2002/12/02
- Re: FW: [DotGNU]The Mingw32 ilrun seems to run, Adam Treat, 2002/12/02
- Re: FW: [DotGNU]The Mingw32 ilrun seems to run, James Michael DuPont, 2002/12/02
- [DotGNU]PATCH pnet-mingw32 was (The Mingw32 ilrun seems to run),
James Michael DuPont <=
- Re: [DotGNU]PATCH pnet-mingw32 was (The Mingw32 ilrun seems to run), James Michael DuPont, 2002/12/03
- RE: [DotGNU]PATCH pnet-mingw32 was (The Mingw32 ilrun seems to run), Aditya P. Bansod, 2002/12/03
- RE: [DotGNU]PATCH pnet-mingw32 was (The Mingw32 ilrun seems to run), James Michael DuPont, 2002/12/03
- RE: [DotGNU]PATCH pnet-mingw32 was (The Mingw32 ilrun seems to run), Aditya P. Bansod, 2002/12/03
- RE: [DotGNU]PATCH pnet-mingw32 was (The Mingw32 ilrun seems to run), James Michael DuPont, 2002/12/04
- Re: [DotGNU]PATCH pnet-mingw32 was (The Mingw32 ilrun seems to run), Rhys Weatherley, 2002/12/04
- Re: FW: [DotGNU]The Mingw32 ilrun seems to run, Simon Guindon, 2002/12/02
- Re: FW: [DotGNU]The Mingw32 ilrun seems to run, Gopal V, 2002/12/02
- Re: FW: [DotGNU]The Mingw32 ilrun seems to run, Gopal V, 2002/12/02
FW: [DotGNU]The Mingw32 ilrun seems to run, Simon Guindon, 2002/12/02