How to generate gcc debug symbol outside the build target?
gcc -ggdb -o test test.c; cp test test.debug; strip --only-keep-debug test.debug; strip test; objcopy --add-gnu-debuglink=test.debug test http://stackoverflow.com/questions/866721/how-to-generate-