Re: RedHat Toolchain for small chips

Lorenzo Marcantonio <[email protected]>
Newsgroups gmane.comp.hardware.texas-instruments.msp430.gcc.user
Message-ID <[email protected]>
On Tue, Jan 14, 2014 at 01:27:26PM +0100, Emil Renner Berthing wrote:
> So am I doing something wrong or will it work eventually and I'm just being
> impatient?

I could say that newlib is huge and the crt code for gcc too could use
a trim (for example it links in code for C++ and java initialization
even for straight C :D). Also probably libgloss is taking some bss for
ANSI features, like stdio and stuff...

And, by the way, even the 'lite' printf pulls in the whole malloc
machinery (so a simple siprintf eats about 5KB of code space!)

Maybe newlib is not the best tool for small MCU (128 byte of RAM IIRC)

-- 
Lorenzo Marcantonio
Logos Srl

------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.