Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

why my cross-compiler gcc cannot produce any debug information

4 views
Skip to first unread message

Peter

unread,
Feb 23, 2012, 2:28:05 AM2/23/12
to
Hi all
my cross gcc don't produce any debug information, why?
I configure it by ../gcc-4.6.2/configure --target=i586-peter-elf --
prefix=/Users/peter/install/i586-peter-elf --disable-nls --enable-
languages=c,c++ --without-headers
thanks
from Peter (cmk...@hotmail.com)
/Users/peter/workspace/PeterI/kernel>i586-peter-elf-gcc -g -c a.c
/Users/peter/workspace/PeterI/kernel>dwarfdump -a a.o
----------------------------------------------------------------------
File: a.o (i386)
----------------------------------------------------------------------
.debug_abbrev contents:
< EMPTY >
.debug_aranges contents:
< EMPTY >
.debug_info contents:
< EMPTY >
.debug_inlined contents:
< EMPTY >
.debug_frame contents:
< EMPTY >
.debug_line contents:
< EMPTY >
.debug_macinfo contents:
< EMPTY >
.debug_pubnames contents:
< EMPTY >
.debug_pubtypes contents:
< EMPTY >
.debug_str contents:
< EMPTY >

Peter

unread,
Feb 23, 2012, 12:57:07 PM2/23/12
to
Mistake, this is not a real issue
0 new messages