s i s t e m a o p e r a c i o n a l m a g n u x l i n u x | ~/ · documentação · suporte · sobre |
6.3. Building an executable6.3.1. Producing object codeFirst step of building an executable is compiling (or assembling) object file from the source: For nasm example:
For gas example:
This makes hello.o object file. 6.3.2. Producing executableSecond step is producing executable file itself from the object file by invoking linker:
This will finally build hello executable. Hey, try to run it... Works? That's it. Pretty simple. |