Some bits.
authorCarl Hetherington <cth@carlh.net>
Sun, 19 May 2013 13:57:35 +0000 (14:57 +0100)
committerCarl Hetherington <cth@carlh.net>
Sun, 19 May 2013 13:57:35 +0000 (14:57 +0100)
.gitignore
build_all
build_gdb.sh [new file with mode: 0644]
build_termcap.sh [new file with mode: 0644]

index deb7485..d00cf4c 100644 (file)
@@ -6,4 +6,8 @@ gcc-build-*
 mingw-headers-build-*
 mingw-runtime-build-*
 mingw-w64-v2.0.7/
+gdb-7.5.1
+gdb-build-*
+termcap-1.3.1
+termcap-build-*
 *~
index 761d461..fd1c220 100755 (executable)
--- a/build_all
+++ b/build_all
@@ -11,6 +11,7 @@ bash build_mingw_headers.sh
 bash build_gcc_core.sh
 bash build_mingw_runtime.sh
 bash build_gcc_rest.sh
+bash build_gdb.sh
 
 export MINGW_TARGET=x86_64-w64-mingw32
 
@@ -19,3 +20,5 @@ bash build_mingw_headers.sh
 bash build_gcc_core.sh
 bash build_mingw_runtime.sh
 bash build_gcc_rest.sh
+bash build_gdb.sh
+
diff --git a/build_gdb.sh b/build_gdb.sh
new file mode 100644 (file)
index 0000000..bfc7695
--- /dev/null
@@ -0,0 +1,10 @@
+#!/bin/bash -e
+
+tar xjf Archives/gdb-7.5.1.tar.bz2
+mkdir -p gdb-build-$MINGW_TARGET
+cd gdb-build-$MINGW_TARGET
+export LDFLAGS=-L$MINGW_PREFIX/lib
+PATH=$MINGW_PREFIX/bin:$PATH ../gdb-7.5.1/configure --prefix=$MINGW_PREFIX --target=$MINGW_TARGET --host=$MINGW_TARGET
+PATH=$MINGW_PREFIX/bin:$PATH make $MINGW_PARALLEL
+sudo PATH=$MINGW_PREFIX/bin:$PATH make install
+
diff --git a/build_termcap.sh b/build_termcap.sh
new file mode 100644 (file)
index 0000000..f49a3b6
--- /dev/null
@@ -0,0 +1,10 @@
+#!/bin/bash -e
+
+tar xzf Archives/termcap-1.3.1.tar.gz
+mkdir -p termcap-build-$MINGW_TARGET
+cd termcap-build-$MINGW_TARGET
+export CC=$MINGW_PREFIX/bin/$MINGW_TARGET-gcc
+../termcap-1.3.1/configure --prefix=$MINGW_PREFIX/$MINGW_TARGET --target=$MINGW_TARGET
+make $MINGW_PARALLEL
+sudo make install
+