On 3 November 2012 12:44, Timo Sintonen <t.sinto...@luukku.com> wrote: > I have started to make a minimum libdruntime. First I compiled object and > now I am adding files one by one when needed. > The compiler generates lots of library calls. So far I have found these > flags to get the code smaller and to reduce library calls: -fno-assert > -fno-invariants and -fno-bouns-check. > Is there any other options that would make the executable more simple? > >
Release/no bounds check would probably generate the least amount of library calls: -frelease -fno-bounds-check -- Iain Buclaw *(p < e ? p++ : p) = (c & 0x0f) + '0';