Hello Newsgroup,
I had program a little tool, thats output some assembler output:
---
.section .rdata, "dr"
LC1:
.ascii "eins: %g\0"
..text
..globl _dbase_main
_dbase_main:
pushl %ebp
movl %esp, %ebp
fldz
fstpl _f
fldl _bmodal
fstpl 4(%esp)
movl $LC1
call _printf
leave
ret
..comm _bmodal, 16 # 8
..comm _f, 16 # 8
---
the compilation into object file is working fine.
But how can I link the .o file to a working .exe
file?
It should be able to link to DOS/GUI (win32) exe.
Thanks for helping
Jens