X-Git-Url: https://git.jankratochvil.net/?p=nethome.git;a=blobdiff_plain;f=bin%2Ferrs12;h=3517e7b3286af3634d4bf1125b4c12ff75f191a3;hp=de5912d94c21dfcc67a496f90d374010e9d6b0a3;hb=0ba577cebb34188fb4bed12de709ad6aa12ae1b8;hpb=567a52f04f9c984cca639365c680d2317ac3526f diff --git a/bin/errs12 b/bin/errs12 index de5912d..3517e7b 100755 --- a/bin/errs12 +++ b/bin/errs12 @@ -3,6 +3,10 @@ renice +19 -p $$; ionice -c3 -p $$ +# For ctags +PS1=x +. ~/.bashrc + customss="--enable-static --disable-shared" customm="-m64" target= @@ -55,7 +59,7 @@ do if [ "$1" = "-s" ];then # -O0 is important to override GCC -O2. debug="-O0 -s" - ldflags="" + #ldflags="" shift continue fi @@ -119,10 +123,9 @@ rm -f errs1.ok export CXXFLAGS_FOR_TARGET="$flags" export LDFLAGS="$ldflags" - ctags - test -d gdb && (cd gdb; ctags; cd testsuite; ctags; cd ../gdbserver; ctags) + time nice "$configure" $target $targets $customss --enable-debug --disable-sim --enable-gold --enable-plugins $maintainer $werror --with-separate-debug-dir=/usr/lib/debug "$@" - time nice "$configure" $target $targets $customss --enable-debug --disable-sim $maintainer $werror --with-separate-debug-dir=/usr/lib/debug "$@" + (ctags; test -d gdb && (cd gdb; ctags; cd testsuite; ctags; cd ../gdbserver; ctags)) & errs2