![]() In GNU/Linux systems this can be installed by the build-essential (or equivalent) meta-package on Mac OS X you wil need to install Xcode and the Command Line Tools and requires a free Apple Developer account. ![]() ![]() You will aso need at least the cc compiler e the gdb debugger. Update: Don’t miss the next post Disassembly C code for fun: part 2 PreambleĪll the example and commands in these posts are issued on a Unix system, Mac OS X 10.7 to be precise, so on a different Unix system or on a Windows system the commands and the output can be different from mine. I’m sure this will be the first of a serie of posts related to C code and x86 assembly. I already write sometimes C/C++ code but it’s always a good idea to learn a already known language from the chapter 1 specially if you learn it by practice skipping the theory.īut I’ll not talk about C, I will talk about the assembly code generated by the compiler which is pretty interesting to see how the code is translated and executed by the CPU but it’s also important to understand why the C code you wrote works (or not works). I’m currently reading The C Programming Language by Ritchie and Kernighan to learn the C language from ground zero.
0 Comments
Leave a Reply. |