From 04cd0e5629bca219470e4b2e9b164e064048a5e7 Mon Sep 17 00:00:00 2001 From: midipix Date: Sat, 31 Aug 2019 19:44:51 +0000 Subject: project: gdb bits: moved patch notes to gdb.notes. --- notes/gdb.notes | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 notes/gdb.notes (limited to 'notes/gdb.notes') 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 -- cgit v1.2.3