Marco Awater <marco.awater@xxxxxx> writes: > I'd initially tried to use the linkerscript, but ran into some issues > (which have now been fixed) thus prompting me to experiment with > -nostartfiles. But the whole thing had made me wonder how these files > (ecrti.o and crtbegin.o) were intended to be used.. they are now > basically dead code as far as my application is concerned; I don't > call any of the code in these files since I don't need C++ support. It's true that the current system is not well setup for people who don't want any C++ support at all. > Is this the intended manner to implement this - tweak the linkerscript > or use -nostartfiles (and provide your own EABI definitions) - or how > does one go about this for OS-less C-only targets? Tweaking the linker script is the usual approach. Ian