I've tried to compile a "hello world" assembly program using nasm and gcc. I was able to run it succesfully using 32bit assemblation and linking:
nasm -fwin32 hello.asm
gcc hello.obj
However, when trying to use x64:
nasm -fwin64 hello.asm
gcc -m64 hello.obj
i get:
ld.exe: unrecognised emulation mode: i386pep Supported emulations: i386pe
How can I update the linker for different emulations? The problem persist on both mingw32 & 64.