《Linux调试和性能剖析手段(Linux debug and profiling)》.pdfVIP

《Linux调试和性能剖析手段(Linux debug and profiling)》.pdf

  1. 1、本文档被系统程序自动判定探测到侵权嫌疑,本站暂时做下架处理。
  2. 2、如果您确认为侵权,可联系本站左侧在线QQ客服请求删除。我们会保证在24小时内做出处理,应急电话:400-050-0827。
  3. 3、此文档由网友上传,因疑似侵权的原因,本站不提供该文档下载,只提供部分内容试读。如果您是出版社/作者,看到后可认领文档,您也可以联系本站进行批量认领。
查看更多
《Linux调试和性能剖析手段(Linux debug and profiling)》.pdf

Linux Debugging and Profiling Barry Song 2014 GCC gcc + glibc + linux-header + make   The make headers_install command exports the kernels header files in a form suitable for use by userspace programs.   Kernel headers are backwards compatible, but not forwards compatible. This means that a program built against a C library using older kernel headers should run on a newer kernel (although it may not have access to new features), but a program built against newer kernel headers may not work on an older kernel.   Embedded GLIBC (EGLIBC) was a variant of the GNU C Library (GLIBC) that was designed to work well on embedded systems. EGLIBC strived to be source and binary compatible with GLIBC. EGLIBCs goals included reduced footprint, configurable components, better support for cross-compilation and cross-testing. GCC compilation process   Preprocessing   Compilation   Assembly   Linking $ ls helloworld.c $ gcc -Wall -save-temps helloworld.c -o helloworld $ ls helloworld helloworld.c helloworld.i helloworld.o helloworld.s The temporary files produced by -save-temps flag in one go can be produced one by one by using the gcc flags -E, -C and -S at each of the preprocessing, compilation and assembly steps respectively. preprocessing   The preprocessing step: all the header files that you have included in your program are actually expanded and included in source code of your program. Other than this, all the macros are

文档评论(0)

wfkm + 关注
实名认证
文档贡献者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档