Re:Using LibC in x86 Assembly Programs
by drblast on Sunday March 25, 2012 @03:26PM
(#3753517)
Why would anyone do this? If you've accepted that you're going to pay the cost to link against libc, use C. If you need to do something that specifically requires assembly, write that function (and that function only) in assembly. GCC will handle all of this very cleanly for you. You don't have to write main() in assembly.
[ Parent
| on HN ]
> Why would anyone do this?
Learning exercise? Curiosity? Fun?
If you already have a codebase in assembly, and now you could really use a glibc call or two.