Hi Segher, > Yup, always always always use -dr :-) Noted! > You probably want -ffreestanding anyway for your situation: -nostdlib > does not mean "there is no standard library", it just means "do not link > with it". Ah, yes. > For the archives, no one has said it yet: to just disable the > optimisation transforming the loop into a memset, you can use > -fno-tree-loop-distribute-patterns . It's a new 32-bit libc (for Atari TOS), and maximum GCC optimisations are welcome, although I haven't yet figured out exactly where the boundary is between the GCC built-ins and this libc implementation. There is obviously some overlap between the two, and I wouldn't want the libc to stand in the way of GCC's optimisations. Other than that things work quite well so far, compiling programs, etc. It was surprisingly simple and straight-forward, but then of course this vintage 1985 operating system isn't complicated either. :) [ The name TOS/libc is provisional, it will be renamed to Fuji/libc shortly. ] Fredrik