Author Topic: compile and link correctly  (Read 11050 times)

Offline matthias

  • New Member
  • Posts: 1
compile and link correctly
« on: February 20, 2020, 10:24:20 AM »
Hello to all.
I have installed the nasm on my windows 10 pc.
I did write a assembler file. The classical hello world.
How do I now make a exe file out of it?

Thanks for the answer

Matthias

Offline vitsoft

  • Jr. Member
  • *
  • Posts: 17
  • Country: cz
    • About me
Re: compile and link correctly
« Reply #1 on: February 23, 2020, 08:28:03 PM »
You will need a linker to create PExecutable from the COFF object file created by nasm
and from import libraries. Examples are here: https://www.davidgrantham.com/

Or you can use €ASM, which creates executable files without external linker and import libraries. Examples are here: https://euroassembler.eu/eadoc/#HelloWorld