# HG changeset patch # User "Yann E. MORIN" # Date 1313618029 -7200 # Node ID 41bd6777fa4f767d6264db7c58986920014fd708 # Parent d32d723b239c9ef94992faae245a969e1d0896cb debug/gdb: we don't care if the host tic is shared or static Because we need our own host tic, we have to build it; and we do build it statically for now. But as MacOS/Darwin/Whatever-you-call-it does not support static linking (what a shame!), it fails. Anyway, we don't really care it being shared, in the end. Signed-off-by: "Yann E. MORIN" diff -r d32d723b239c -r 41bd6777fa4f scripts/build/debug/300-gdb.sh --- a/scripts/build/debug/300-gdb.sh Thu Aug 18 23:52:47 2011 +0200 +++ b/scripts/build/debug/300-gdb.sh Wed Aug 17 23:53:49 2011 +0200 @@ -197,13 +197,16 @@ --build=${CT_BUILD} \ --host=${CT_BUILD} \ --prefix=/usr \ - --without-shared \ --enable-symlinks \ --with-build-cc=${CT_REAL_BUILD}-gcc \ --with-build-cpp=${CT_REAL_BUILD}-gcc \ --with-build-cflags="${CT_CFLAGS_FOR_HOST}" \ "${ncurses_opts[@]}" + # ncurses insists on linking tic statically. It does not work + # on some OSes (eg. MacOS-X/Darwin/whatever-you-call-it). + CT_DoExecLog DEBUG sed -r -i -e 's/-static//g;' "progs/Makefile" + # Under some operating systems (eg. Winblows), there is an # extension appended to executables. Find that. tic_ext=$(grep -E '^x[[:space:]]*=' progs/Makefile |sed -r -e 's/^.*=[[:space:]]*//;')