LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices



Reply
 
Search this Thread
Old 07-18-2007, 02:30 PM   #1
spotmax777
LQ Newbie
 
Registered: Jun 2007
Posts: 5

Rep: Reputation: 0
Unhappy Compiling With Debug Info Does Not Work?


I am trying to compile Linux 2.6.10 with debug info using the "make menuconfig" Kernel_Hacking-->Kernel_debugging-->Compile_the_kernel_with_debug_info selection.

I can see that the C files are compiled with the -g option, but the resultant vmlinux ELF file contains debug information for only the head.S assembler file.

Is there a strip command happening somewhere? Or does this menuconfig option simply not work?

Also, it compiles with "-g -O2". Is there a way to compile it with "-g O0"?

Best Regards,
Jerry
 
  


Reply

Tags
compilekernel, debug, info


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
firefox 1.5.7 outputs debug info nanjil Suse/Novell 2 10-05-2006 06:49 AM
Debug info by inet1 during boot BroX Slackware 4 09-24-2006 11:59 AM
Redirecting debug info to another file subu_s Programming 1 12-07-2004 02:15 PM
rpmbuild without stripping debug info gdaly77 Linux - Software 0 05-27-2004 03:43 PM
redirect debug info raven Linux - General 1 11-20-2002 09:16 AM


All times are GMT -5. The time now is 12:22 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration