> JV> ; nasm ddate.asm
> JV> ; gcc ddate.o -o ddate
> Mmm, maybe the version of nasm (0.94) that I have is too old,
> because nasm gives me the following error-message :
Several things have been fixed in 0.97- I think it was from
sunsite.unc.edu in ../Linux/Incoming where it will probably
sit forever. Nice assembler, really, but it pays to understand
the AT&T syntax because that's what the gdb debugger disassembles
to.
But I see another problem:
> Free:~/assembler/time$ nasm ctime_jv.asm
> ctime_jv.asm:38: binary output format does not support ..........
^^^^^^^^^^^^^
I built nasm to use the ELF format by default, but it comes out
of the box for MS-DOS binaries. So you might try:
nasm -f elf -o ctime_jv.o ctime_jv.asm
gcc -o ctime_jv ctime_jv.o
If you get the 0.97 sources, in the Makefile add -DOF_DEFAULT=of_elf
to the CFLAGS list of parameters.
--- ifmail-tx (i386 Linux)
---------------
* Origin: jvahn@short.circuit.com (1:346/15.1@fidonet)
|