2013-02-28 14:40:58

 

main.c

 

#include <stdio.h>
int main(void)
{
    printf("Hello\n");
    return 0;
}


Compile

The ARM Linux Project
http://www.arm.linux.org.uk/
http://ftp.arm.linux.org.uk/pub/armlinux/toolchain/

arm-linux-gcc -static main.c


Excute

qemu-arm a.out

'egloos whitecat' 카테고리의 다른 글

Newlib  (0) 2023.10.17
GCC 4.7.1  (1) 2023.10.17
함께 놀자  (0) 2023.09.15
Fedora  (0) 2023.09.15
GDB  (0) 2023.09.15

+ Recent posts