[ECOS] the problem when compile programe with -gdwarf

Nick Garnett nickg@ecoscentric.com
Fri Feb 25 10:53:00 GMT 2005

"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 <<<<<

More information about the Gcc-help mailing list