วันพุธที่ 11 สิงหาคม พ.ศ. 2553

arm-linux-gcc installation embeded system

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
CROSS=arm-linux-

all: hello

hello:
$(CROSS)gcc -o hello hello.c

clean:
@rm -vf hello *.o *~
ref : Micro2440 Chinese Manual 2010-02-04

ไม่มีความคิดเห็น:

LinkWithin

Related Posts Plugin for WordPress, Blogger...