How to generate gcc debug symbol outside the build target?
2013-09-25 09:50
375 查看
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-gcc-debug-symbol-outside-the-build-target
http://stackoverflow.com/questions/866721/how-to-generate-gcc-debug-symbol-outside-the-build-target
相关文章推荐
- How to generate gcc debug symbol outside the build target?
- How to Enable Trace or Debug for APIs executed as SQL Script Outside of the Applications ?
- How to Enable Trace or Debug for APIs executed as SQL Script Outside of the Applications ?
- How to Enable Trace or Debug for APIs executed as SQL Script Outside of the Applications ?
- How to build the GCC-4.3.3 in MinGW?
- How to Enable Trace or Debug for APIs executed as SQL Script Outside of the Applications ?
- How to generate DLL files by GCC in the MinGW?
- The Linux GCC HOWTO中译版V0.2
- How to use GCC to build DLL by DEF file in MinGW?
- How_to_build_an_ARM/DSP_Hello_World_program_on_the_DaVinci_EVM
- [MSDN] How to Debug a Release Build
- How to generate an AP debug log file
- How to build parport related driver upon parport module in the kernel
- How to Integrate the Zend Debug with Zend Eclipse-PHP (PDT) and XAMPP
- How to generate links to the android Classes' reference in javadoc?
- how to use the dynamic debug
- How To Build GCC 4.8.2 ARM Cross-Compiler
- [Angular 2] How To Debug An Angular 2 Application - Debugging via Augury or the Console
- How to use the xsd generator generate the class
- How to debug the exception