레이블이 ARM인 게시물을 표시합니다. 모든 게시물 표시
레이블이 ARM인 게시물을 표시합니다. 모든 게시물 표시

2010년 2월 8일 월요일

Installing the GNU Toolchain for ARM Processors

■ 리눅스에서 ARM 컴파일러 설치

Step 1) download : http://www.codesourcery.com/sgpp/lite/arm/portal/subscription?@template=lite
. 작성당시의 버전 : arm-2009q3-67-arm-none-linux-gnueabi-i686-pc-linux-gnu.tar

Step 2) 설치
$ tar xvf arm-2009q3-67-arm-none-linux-gnueabi-i686-pc-linux-gnu.tar
$ mv arm-2009q3 ~/bin/


Step 3) Path 설정
. $HOME/.bashrc 파일을 수정
ARM_HOME=$HOME/bin/arm-2009q3
exoprt PATH=$PATH:$ARM_HOME/bin

$ source .bashrc

Step 4) 설치 확인
$ arm-none-linux-gnueabi-gcc --version
arm-none-linux-gnueabi-gcc (Sourcery G++ Lite 2009q3-67) 4.4.1
Copyright (C) 2009 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.