This is the mail archive of the
elfutils-devel@sourceware.org
mailing list for the elfutils project.
Re: [patch] Support --enable-static
- From: Roland McGrath <roland at hack dot frob dot com>
- To: elfutils-devel at lists dot fedorahosted dot org
- Date: Fri, 14 Sep 2012 09:52:50 -0700
- Subject: Re: [patch] Support --enable-static
I don't have any objection to the change, since we already have the option
in the makefiles anyway. But I still wouldn't use it. Debugging with the
shared libraries has never been much hassle for me.
What I've been using for years is this testrun.sh script in my elfutils
build directories:
#!/bin/sh
eu_dir=`dirname $0`
LD_LIBRARY_PATH=${eu_dir}/libelf:${eu_dir}/libdw:${eu_dir}/backends\
${LD_LIBRARY_PATH:+$LD_LIBRARY_PATH}
export LD_LIBRARY_PATH
case "$1" in
/*) ;;
src/*|tests/*) f="$1"; shift; set -- "${eu_dir}/$f" ${1+"$@"} ;;
esac
exec "$@"