Not sure what you're wondering about, here. There are a couple of compiler flags set, several of them quite necessary (-Wall, and -ffreestanding -nostdinc too if you're doing OS work). Didn't you set them yourself, somewhere - in your Makefile, for example?
How is the compiler executed by you?
Every good solution is obvious once you've found it.
Solar wrote:Not sure what you're wondering about, here. There are a couple of compiler flags set, several of them quite necessary (-Wall, and -ffreestanding -nostdinc too if you're doing OS work). Didn't you set them yourself, somewhere - in your Makefile, for example?
Yes I set them in the Makefile. Question is, is there some 'echo off' option to minimize the output?
What you see is "make" printing each command it executes to output before actually executing it. That is default behaviour. By adding "@" to the Makefile command line, you set this to "off". You can then add an echo-line of your own chosing to keep track of progress.
Biggest problem with /dev/null is that then your error messages go there too, which is of course the last thing you want to do with them. Out of preference, I would have them turn my screen pink and start playing "Barbie Girl" by Aqua, just so I noticed properly.