avr-libc-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-libc-dev] New release?


From: Wouter van Gulik
Subject: Re: [avr-libc-dev] New release?
Date: Thu, 29 Nov 2007 16:24:55 +0100
User-agent: Thunderbird 2.0.0.9 (Windows/20071031)


Meaning what?


Whoops. Let me be more clear on this. When compiling without -lm you get 3k+ bytes of program and 256+ bytes of ram used.

IIRC switching on -lm you get 600 bytes of flash and 0 bytes of ram used...

I know that I tested the test case and confirmed that it adds 256 bytes
to RAM.

Yes nog using -lm indeed adds the 256 bytes

I tried fixing this by implementing the __clzm in the libgcc.s But I did not succeed, because gcc would still use his own. This is probably because i missed some config somewhere. But I could not find documentation on using the library. Any pointers are well come. I might give it another try this weekend.

At this point, I would accept a patch that reverts the change back to
the 4.1.x code, while we wait to figure out the best solution that has a
reasonable chance to make it into the repository. I would then just
include that patch in the WinAVR release.


I see. I don't have any clue on the gcc internals. So I can't help you here. Sorry.

HTH

Wouter




reply via email to

[Prev in Thread] Current Thread [Next in Thread]