You can disable GC, for example by linking to gcstub (backed by malloc and free). But for the rest, it sounds like what you want is the "betterC" proposed by Walter recently.