01 > ȸҰ

 
작성일 : 12-06-08 18:23
cross comfile(elogics-gcc-3.4.5_gtgkjh.tar.gz
 글쓴이 : 이로직…
조회 : 6,730  
http://www.elogics.net/ftp/elogics-gcc-3.4.5_gtgkjh.tar.gz
<크로스 컴파일러 설치 방법>
1. elogics-gcc-3.4.5_gtgkjh.tar.gz
파일을 / 에서 압축을 푼다.

2. 자기 계정의 .bash_profile에 경로를 다음과 같이 지정해준다.

PATH=$PATH:/elogics/cross/gcc-3.4.5-glibc-2.3.6/arm-linux/bin
export PATH

3. logout했다가, login한다.

4. arm-linux-gcc -v 해서 확인해 본다.

root:# arm-linux-gcc -v
Reading specs from /elogics/cross/gcc-3.4.5-glibc-2.3.6/arm-linux/lib/gcc/arm-linux/3.4.5/specs
Configured with: /home/ghc/crosstool-0.43/build/arm-linux/gcc-3.4.5-glibc-2.3.6/gcc-3.4.5/configure --target=arm-linux --host=i686-host_pc-linux-gnu --prefix=/elogics/cross/gcc-3.4.5-glibc-2.3.6/arm-linux --with-float=soft --with-cpu=xscale --enable-cxx-flags=-mcpu=xscale --with-headers=/elogics/cross/gcc-3.4.5-glibc-2.3.6/arm-linux/arm-linux/include --with-local-prefix=/elogics/cross/gcc-3.4.5-glibc-2.3.6/arm-linux/arm-linux --disable-nls --enable-threads=posix --enable-symvers=gnu --enable-__cxa_atexit --enable-languages=c,c++ --enable-shared --enable-c99 --enable-long-long
Thread model: posix
gcc version 3.4.5