1b79a18cd4
- get rid of libtool and thus rpath bugs - install libexec files as they're also needed - copy the crt files in lib/gcc/i386-mingw32/3.4.5 as the compiler looks for them in there and not in lib - disable shared and thus lose the platform specific files (noticed by jeremy@ as well) - adapt the README after these changes
64 lines
3.1 KiB
Plaintext
64 lines
3.1 KiB
Plaintext
$OpenBSD: patch-x86-mingw32-build_sh_conf,v 1.2 2011/11/17 14:41:58 pirofti Exp $
|
|
--- x86-mingw32-build.sh.conf.orig Thu Mar 11 00:16:55 2010
|
|
+++ x86-mingw32-build.sh.conf Thu Nov 17 16:01:32 2011
|
|
@@ -35,17 +35,17 @@
|
|
# the `x86-mingw32-build.sh.hosts' file for the `mirror' field
|
|
# in the following URL, to establish a default download host.
|
|
#
|
|
- assume DOWNLOAD_HOST http://prdownloads.sourceforge.net/mingw
|
|
- assume DOWNLOAD_OPTIONS '?download&use_mirror=mirror'
|
|
+# assume DOWNLOAD_HOST http://prdownloads.sourceforge.net/mingw
|
|
+# assume DOWNLOAD_OPTIONS '?download&use_mirror=mirror'
|
|
#
|
|
# 3) Directories to use for temporary working space, package storage,
|
|
# and ultimate compiler installation. You should adjust these to
|
|
# match your own host configuration; note that you MUST have WRITE
|
|
# permission for each directory specified.
|
|
#
|
|
- assume WORKING_DIR $HOME/tmp/mingw-3.4.5
|
|
- assume PACKAGE_DIR $HOME/packages/mingw-3.4.5
|
|
- assume INSTALL_DIR $HOME/mingw32
|
|
+ assume WORKING_DIR ${MINGW32_TMP}
|
|
+ assume PACKAGE_DIR ${FULLDISTDIR}
|
|
+ assume INSTALL_DIR ${MINGW32_OUT}
|
|
#
|
|
# 4) Package versions, from which the compiler will be built.
|
|
#
|
|
@@ -93,11 +93,11 @@
|
|
# the corresponding package is available in the PACKAGE_DIR, or
|
|
# if it is selected for download.
|
|
#
|
|
- option GCC_LANGUAGE_OPTIONS ada
|
|
+# option GCC_LANGUAGE_OPTIONS ada
|
|
option GCC_LANGUAGE_OPTIONS c++
|
|
- option GCC_LANGUAGE_OPTIONS f77
|
|
- option GCC_LANGUAGE_OPTIONS java
|
|
- option GCC_LANGUAGE_OPTIONS objc
|
|
+# option GCC_LANGUAGE_OPTIONS f77
|
|
+# option GCC_LANGUAGE_OPTIONS java
|
|
+# option GCC_LANGUAGE_OPTIONS objc
|
|
#
|
|
# 8) User preferences for configuration options. These have been
|
|
# preconfigured to match the setup of the prebuilt compiler suite,
|
|
@@ -129,13 +129,13 @@
|
|
option GCC_BASE_OPTIONS --enable-threads=win32
|
|
option GCC_BASE_OPTIONS --disable-win32-registry
|
|
#
|
|
- option GCC_JAVA_BASE_OPTIONS --enable-libgcj
|
|
- option GCC_JAVA_BASE_OPTIONS --disable-libgcj-debug
|
|
- option GCC_JAVA_BASE_OPTIONS --disable-java-awt
|
|
- option GCC_JAVA_BASE_OPTIONS --enable-java-gc=boehm
|
|
- option GCC_JAVA_BASE_OPTIONS --enable-interpreter
|
|
- option GCC_JAVA_BASE_OPTIONS --enable-hash-synchronization
|
|
- option GCC_JAVA_BASE_OPTIONS --without-x
|
|
+# option GCC_JAVA_BASE_OPTIONS --enable-libgcj
|
|
+# option GCC_JAVA_BASE_OPTIONS --disable-libgcj-debug
|
|
+# option GCC_JAVA_BASE_OPTIONS --disable-java-awt
|
|
+# option GCC_JAVA_BASE_OPTIONS --enable-java-gc=boehm
|
|
+# option GCC_JAVA_BASE_OPTIONS --enable-interpreter
|
|
+# option GCC_JAVA_BASE_OPTIONS --enable-hash-synchronization
|
|
+# option GCC_JAVA_BASE_OPTIONS --without-x
|
|
#
|
|
option CFLAGS_FOR_BINUTILS -O2
|
|
option CFLAGS_FOR_BINUTILS -fno-exceptions
|