This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: the problem when compile programe with -gdwarf
- From: Nick Garnett <nickg at ecoscentric dot com>
- To: "twomol" <twomol at 126 dot com>
- Cc: "gcc-help" <gcc-help at gcc dot gnu dot org>,"ecos-discuss" <ecos-discuss at ecos dot sourceware dot org>
- Date: 24 Feb 2005 13:53:47 +0000
- Subject: Re: [ECOS] the problem when compile programe with -gdwarf
- References: <20050224124508.2507B65C06A@smtp.ecoscentric.com>
"twomol" <twomol@126.com> writes:
> Nick Garnett,hello!
>
>
>
> ======= 2005-02-24 18:31:36 wrote:=======
>
>
> >
> >This is probably because the toolchain doesn't support DWARF debug
> >format. I recommend sticking with the default format.
> >
> >
> Thanks for response. I don't think that the toolchain doesn't
> support DWARF.Because if I complie very simple program(just two or
> three files without library),It's OK.
The errors you are getting look like relocation errors. Maybe it works
fine for small programs, but once they grow beyond some limit it
fails. Perhaps the tools have to be rebuilt to do what you want to
do. I don't really know.
Again, I recommend sticking with the default, we know that works.
--
Nick Garnett eCos Kernel Architect
http://www.ecoscentric.com The eCos and RedBoot experts
>>>>> Visit us in booth 2539 at Embedded Systems Conference 2005 <<<<<
>>>>> March 8 - 10, San Francisco http://www.embedded.com/esc/sf <<<<<
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss