Note that all software download is from their download page
install arm-linux-gcc
1. download "ARM-Linux GCC 4.3.2"
2. export PATH=/usr/local/arm/4.3.2/bin:$PATH
run HelloWorld
1. download "Linux examples"
2. cd /examples/hello
3. make
their Makefile is peatty simple, you can adapt for your own
ref : Micro2440 Chinese Manual 2010-02-04
their Makefile is peatty simple, you can adapt for your own
CROSS=arm-linux-
all: hello
hello:
$(CROSS)gcc -o hello hello.c
clean:
@rm -vf hello *.o *~
ความคิดเห็น