ARM Cortex-M Microcontroller startup files

Timo Sintonen via Digitalmars-d digitalmars-d at puremagic.com
Sat May 2 03:38:50 PDT 2015


On Saturday, 2 May 2015 at 09:09:44 UTC, Martin Nowak wrote:
> On Saturday, 2 May 2015 at 08:46:56 UTC, Timo Sintonen wrote:
>> Std.format, as suggested, would be too big. I tis easty to 
>> copy the printf formatter from libc sources. Or just write an 
>> own.
>
> No need to rewrite libc, just link against it and use whatever 
> is needed.
>
I have assumed we are going the way that libc is not a 
requirement. If libc is required we must build a full multilib 
set and possibly include them in binary releases.
This is a question that we can discuss.


>> It is a matter of taste if it is a c like printf function or a 
>> formatter class. Or both if we like. Only the used ones are 
>> picked from the library.
>
> You could implement more high level application code like a 
> formatting library as dub package.

A separate package is a good idea for advanced things.


More information about the Digitalmars-d mailing list