This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [ECOS] the problem when compile programe with -gdwarf


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]