diff options
Diffstat (limited to 'notes')
-rw-r--r-- | notes/gdb.notes | 35 |
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 |