summaryrefslogtreecommitdiff
path: root/notes
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2019-08-31 19:44:51 +0000
committermidipix <writeonce@midipix.org>2019-08-31 19:44:51 +0000
commit04cd0e5629bca219470e4b2e9b164e064048a5e7 (patch)
tree4dcc0d51be2cfb0def7485bfead31789e41bcdb8 /notes
parent68b826dafff940839fae71cbb9b4cc6d64dae0e9 (diff)
downloadchainport-04cd0e5629bca219470e4b2e9b164e064048a5e7.tar.bz2
chainport-04cd0e5629bca219470e4b2e9b164e064048a5e7.tar.xz
project: gdb bits: moved patch notes to gdb.notes.
Diffstat (limited to 'notes')
-rw-r--r--notes/gdb.notes35
1 files changed, 35 insertions, 0 deletions
diff --git a/notes/gdb.notes b/notes/gdb.notes
new file mode 100644
index 0000000..d2214c8
--- /dev/null
+++ b/notes/gdb.notes
@@ -0,0 +1,35 @@
+==========
+gdb.config:
+==========
+#!/bin/sh
+
+ CFLAGS="-g3 -O0" \
+ CXXFLAGS="-g3 -O0" \
+ CFLAGS_FOR_TARGET="-g3 -O0 --sysroot=$HOME/midipix/nt64/debug/native" \
+ CXX_FOR_TARGET="-g3 -O0 --sysroot=$HOME/midipix/nt64/debug/native" \
+ LDFLAGS_FOR_TARGET="--sysroot=$HOME/midipix/nt64/debug/native" \
+../gdb-7.12/configure \
+ --with-system-zlib \
+ --with-system-libiberty \
+ --with-system-readline \
+ --host=x86_64-nt64-midipix \
+ --target=x86_64-nt64-midipix \
+ --build=$(cc -dumpmachine)
+
+========
+gdb.make:
+========
+#!/bin/sh
+
+make LIBTOOL=rdlibtool MAKE="make LIBTOOL=rdlibtool" -j8 \
+ SYSROOT_FLAGS=--sysroot=$HOME/midipix/nt64/debug/native
+
+
+===========
+gdb.install:
+===========
+#!/bin/sh
+
+make LIBTOOL=rdlibtool MAKE="make LIBTOOL=rdlibtool" -j8 \
+ SYSROOT_FLAGS=--sysroot=$HOME/midipix/nt64/debug/native \
+ DESTDIR=destdir install