I do not use the program/compiler, however, being it is a microcontroller and not using an OS and tons of RAM, that is how I expect it to work (and I would write my code that way if I used it).
Maybe it pulls all the source in rather have object files and linking them. And no OS to deal with.