+2010-04-03 Marek Habersack <mhabersack@novell.com>
+
+ * configure.in: TARGET_WIN32 is defined when cross-compiling with
+ MinGW
+
+ * build-mingw32.sh: include the 4.0 profile in the zip.
+ Remove cross-compilation environment bin path from PATH before
+ compiling native Mono.
+ Remove autotools cache directory before each compilation phase.
+
2010-04-02 Marek Habersack <mhabersack@novell.com>
* configure.in: include -lkernel32 in LDFLAGS when cross-compiling
CROSS_DIR=/opt/cross/$MINGW
COPY_DLLS="libgio*.dll libglib*.dll libgmodule*.dll libgthread*.dll libgobject*.dll"
INSTALL_DESTDIR="$CURDIR/mono-win32"
-PROFILES="default net_2_0 moonlight net_3_5"
+PROFILES="default net_2_0 net_3_5 net_4_0 moonlight"
TEMPORARY_PKG_CONFIG_DIR=/tmp/$RANDOM-pkg-config-$RANDOM
+ORIGINAL_PATH="$PATH"
export CPPFLAGS_FOR_EGLIB CFLAGS_FOR_EGLIB CPPFLAGS_FOR_LIBGC CFLAGS_FOR_LIBGC
if [ -f ./Makefile ]; then
make distclean
+ rm -rf autom4te.cache
fi
if [ ! -d "$CURDIR/build-cross-windows" ]; then
cd "$CURDIR/build-cross-windows"
rm -rf *
- ../configure --prefix=$MONO_PREFIX --with-crosspkgdir=$CROSS_PKG_CONFIG_DIR --build=$BUILD --target=$MINGW --host=$MINGW --enable-parallel-mark --program-transform-name="" --with-tls=none --disable-mcs-build --disable-embed-check --enable-win32-dllmain=yes --with-libgc-threads=win32
+ ../configure --prefix=$MONO_PREFIX --with-crosspkgdir=$CROSS_PKG_CONFIG_DIR --build=$BUILD --target=$MINGW --host=$MINGW --enable-parallel-mark --program-transform-name="" --with-tls=none --disable-mcs-build --disable-embed-check --enable-win32-dllmain=yes --with-libgc-threads=win32 --with-profile4=yes
make
cd "$CURDIR"
if [ ! -d "$CURDIR/build-cross-windows-mcs" ]; then
mkdir "$CURDIR/build-cross-windows-mcs"
fi
+
+ rm -rf autom4te.cache
+ unset PATH
+ PATH="$ORIGINAL_PATH"
+ export PATH
cd "$CURDIR/build-cross-windows-mcs"
rm -rf *
../configure --prefix=$MONO_PREFIX --enable-parallel-mark
# So libgc configure gets -mno-cygwin
export CC
export CXX
+ else
+ target_win32=yes
+ AC_DEFINE(TARGET_WIN32,1,[Target OS is Win32/MinGW])
fi
HOST_CC="gcc"
# Windows 2000 is required that includes Internet Explorer 5.01
+2010-04-03 Marek Habersack <mhabersack@novell.com>
+
+ * process.c: when compiling with MinGW, force GetProcessId lookup
+ using GetProcessAddress.
+
2010-04-02 Mark Probst <mark.probst@gmail.com>
* sgen-gc.c: parse_environment_string_extract_number() must be
return TRUE;
}
+#if defined (__MINGW32__) && defined (HAVE_GETPROCESSID)
+#undef HAVE_GETPROCESSID
+#endif
+
#ifndef HAVE_GETPROCESSID
/* Run-time GetProcessId detection for Windows */
#ifdef TARGET_WIN32