assembly other than with gcc

Joe Talbott josepht at
Mon Mar 27 08:48:58 PST 2006

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.  


More information about the Users mailing list