Try to avoid clashes with gdb libs by using separate prefixes.
authorCarl Hetherington <cth@carlh.net>
Mon, 20 May 2013 11:41:23 +0000 (12:41 +0100)
committerCarl Hetherington <cth@carlh.net>
Mon, 20 May 2013 11:41:23 +0000 (12:41 +0100)
build_all
clean

index fd1c220..6e5031d 100755 (executable)
--- a/build_all
+++ b/build_all
@@ -1,9 +1,9 @@
 #!/bin/bash -e
 
-export MINGW_PREFIX=/mingw
-export MINGW_PARALLEL="-j2"
-export MINGW_BUILD=i686-pc-linux-gnu
+export MINGW_PARALLEL="-j4"
+export MINGW_BUILD=x86_64-pc-linux-gnu
 
+export MINGW_PREFIX=/mingw/32
 export MINGW_TARGET=i686-w64-mingw32
 
 bash build_binutils.sh
@@ -13,6 +13,7 @@ bash build_mingw_runtime.sh
 bash build_gcc_rest.sh
 bash build_gdb.sh
 
+export MINGW_PREFIX=/mingw/64
 export MINGW_TARGET=x86_64-w64-mingw32
 
 bash build_binutils.sh
diff --git a/clean b/clean
index 4fe1cff..3419f09 100755 (executable)
--- a/clean
+++ b/clean
@@ -11,3 +11,6 @@ rm -rf mingw-headers-build-x86_64-w64-mingw32
 rm -rf mingw-runtime-build-i686-w64-mingw32
 rm -rf mingw-runtime-build-x86_64-w64-mingw32
 rm -rf mingw-w64-v2.0.7
+rm -rf gdb-7.5.1
+rm -rf gdb-build-i686-w64-mingw32
+rm -rf gdb-build-x86_64-w64-mingw32