Linking *.o for YASM and GCC
Posted: Mon Feb 21, 2005 1:54 pm
I am programming in 64 bits. How I can linking object files for YASM and GCC?
yasm.asm
bits 64
GLOBAL _start
_start: mov rax,41h
mov ah, 0eh
int 10h
jmp _start
gcc.c
main(){
start();
}
yasm.asm
bits 64
GLOBAL _start
_start: mov rax,41h
mov ah, 0eh
int 10h
jmp _start
gcc.c
main(){
start();
}