DragonFly BSD
DragonFly users List (threaded) for 2006-03
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

assembly other than with gcc


From: Joe Talbott <josepht@xxxxxxxxxx>
Date: Mon, 27 Mar 2006 11:41:30 -0500
Mail-followup-to: users@crater.dragonflybsd.org

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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]