http://blog.adtl.cz/2010/09/07/building-arm-gcc-toolchain-mingw/
 

# cd 적당한폴더
# wget http://blog.adtl.cz/wp-content/uploads/2010/09/arm-toolchain.zip
# unzip arm-toolchain.zip
# chmod +x arm-toolchain.sh

# sudo ./arm-toolchain.sh /usr/local/ arm-none-eabi



(윈도우용 스크립트라서 아래와 같은 에러가 난다.)

에러: /bin/sh^M: bad interpreter: No such file or directory
# vi arm-toolchain.sh
:set ff=unix

에러: Found unknown OS. Aborting!
# export uname=Linux
아님 그냥 
# vi arm-toolchain.sh
uname=Linux 추가
 


checking for the correct version of mpfr.h... no
configure: error: Building GCC requires GMP 4.2+, MPFR 2.3.1+ and MPC 0.8.0+.
Try the --with-gmp, --with-mpfr and/or --with-mpc options to specify
their locations.  Source code for these libraries can be found at
their respective hosting sites as well as at
ftp://gcc.gnu.org/pub/gcc/infrastructure/.  See also
http://gcc.gnu.org/install/prerequisites.html for additional info.  If
you obtained GMP, MPFR and/or MPC from a vendor distribution package,
make sure that you have installed both the libraries and the header
files.  They may be located in separate packages.
http://ccode.tistory.com/48 참조












http://cafe.naver.com/embeddedcrazyboys/8891


신고

'Linux' 카테고리의 다른 글

install GMP MPFR MPC  (0) 2011.09.22
arm-linux-gcc toolchain 컴파일 및 설치  (1) 2011.09.20
find 고찰 및 활용  (0) 2011.09.19
리눅스 fg(fore ground), bg(back ground)  (0) 2011.09.19
[펌]vi로 error/warning 추적하기  (0) 2011.01.13
Posted by Leo 리오 트랙백 1 : 댓글 1