I am only guessing but I suspect the binary will be tiny. The earlier article you mentioned described how hello world is surprisingly large with libc overheads. It then sets out to eliminate those overheads and concentrates on the problems involved in doing that. But it doesn't mention how small the binary gets once those overheads are successfully eliminated, My expectation would be just a handful of bytes.
Comments
Can someone give some insight on the last line?
That's it. Simple. Now you can launch the hello program by entering ./hello. Look at the binary size -- surprised?
Without being able to compile the executable myself, is the binary surprisingly large or small? A few months ago, someone posted this article:
http://blog.ksplice.com/2010/03/libc-free-world/
Which leads me to believe that the executable is surprisingly large given the content. Am I understanding that correctly?
I am only guessing but I suspect the binary will be tiny. The earlier article you mentioned described how hello world is surprisingly large with libc overheads. It then sets out to eliminate those overheads and concentrates on the problems involved in doing that. But it doesn't mention how small the binary gets once those overheads are successfully eliminated, My expectation would be just a handful of bytes.
In my case the binary turned out to be much larger than I would have expected. I was expecting a couple hundred bytes tops, but 8k?