What is the correct way to assemble and link using nasm on
DragonFlyBSD?  I was using:

nasm -f elf -o hello.o hello.s
ld -s -o hello hello.o

but the executable is not properly branded.  I can use:

gcc -o hello hello.o

to link and the application is recognized and executed.  

Joe

Reply via email to