포럼 회원으로 등록하신분만 다운로드가 가능합니다. 최대 업로드 가능한 용량은 20MB 입니다.

1. 우분투의 기본 개발 패키지들을 설치 합니다. (아래 링크 참조)

http://www.aesop.or.kr/?document_srl=32193

2. 다음 명령을 입력하려, awk를 gawk로 변경 합니다.

# sudo apt-get install gawk; sudo update-alternatives --config awk

3. Crosstool 0.43의 demo-xxxxx.sh 파일에서 다음의 구문을 변경 합니다.

# Build the toolchain.  Takes a couple hours and a couple gigabytes.
time eval `cat armv6-vfp-eabi.dat gcc-4.1.0-glibc-2.4.0.dat`  sh all.sh --notest

# Build the toolchain.  Takes a couple hours and a couple gigabytes.
eval `cat armv6-vfp-eabi.dat gcc-4.1.0-glibc-2.4.0.dat`  sh all.sh --notest

4. Crosstool 0.43은 uBuntu 8.10에서 사용하는 gcc 4.3.2로 컴파일을 수행하면 에러가 납니다.
     다음의 명령으로 gcc 4.3.2를 gcc 4.1.0으로 변경 합니다.

# sudo mv /usr/bin/gcc /usr/bin/gcc.old
# sudo apt-get install gcc-4.1

5. Crosstool 0.43으로 컴파일을 수행 합니다.

# sh ./demo-xxx-xxxx.sh

6. 컴파일이 완료 된 후 gcc를 원래 버전으로 돌려 놓습니다.

#  sudo mv /usr/bin/gcc.old /usr/bin/gcc


P.S > 도찬구 님이 게시물에 댓글로 많은 도움을 주셨습니다. :)
profile

인생은 연극이고 세상은 무대이다!

이솝 임베디드 포럼 운영 및 비즈니스와 관련된 것 이외에 E-Mail이나 메신저 및 휴대폰 등을 통한 개인적인 질문 및 답변은 받지 않습니다. 문의 사항은 이솝 임베디드 포럼 게시판을 이용해 주시면 감사하겠습니다.

엮인글 :
http://www.aesop.or.kr/index.php?mid=Board_Documents_Linux_Kernel&document_srl=35179&act=trackback&key=a73

도찬구

2009.02.18 20:48:23
*.110.74.243

헉. 왠 추신에... 깜딱이야~
profile

김재훈

2009.02.18 22:02:13
*.162.60.144

강좌란에서 이수진님이 이것에 대해서 2월 3일인가, 질문을 했는데... 이제서야 확인해 보네요. ;;;
이미, 해결 하셨을 듯... ㅡ.ㅡ;
List of Articles
번호 제목 글쓴이 날짜 조회 수sort
70 MTD/JFFS2 howto file 고도리 2015-06-17 403
69 devicetree usage 번역판 file [1] 고도리 2016-09-17 716
68 드라이버의 다이내믹 설정? [1] lveritas 2013-07-29 3479
67 DeviceTree for ARM 관련 간단 글. [3] 고도리 2013-08-27 5328
66 Linux kernel Documentation DocBook 만들기 [1] 고도리 2012-08-25 5626
65 crosstool-ng 관련 site 고도리 2011-08-15 8462
64 리눅스 커널에서의 container_of macro 설명 고도리 2011-08-15 8895
63 kernel architecture number(mach-types) 직접 커널에 입력하기 고도리 2011-08-15 9234
62 autologin 고현철 2009-01-30 9886
61 debug print문(kernel & app용) 고현철 2009-01-30 10060
60 Creating a Root File System for Linux on OMAP35x 장석원 2009-04-24 10114
59 Embedded linux Swap howto 고현철 2009-01-30 10252
58 ubuntu 에서 kubuntu ppa backports repository 지정방법 [1] 고도리 2011-05-10 10402
57 ramdisk howto file 고현철 2009-01-30 10622
» uBuntu 8.10에서 Crosstool 0.43 사용 방법 [2] 김재훈 2009-02-18 10780
55 2.6.28 kernel에서 sk_buff에서 mac header를 가져오고 찍는 방법 [1] 고현철 2009-02-10 10863
54 GStreamer on TI DaVinci and OMAP 장석원 2009-04-25 10929
53 kernel 2.6(S3C64XX)용 kernel image구조 고현철 2009-02-16 10982
52 임베디드 시스템 포팅 가이드(PXA255 ) #2 file 김재훈 2009-05-17 11016
51 Windows CE에서 NK.bin에 포함된 모듈 확인 하는 방법 file [1] 김재훈 2009-02-04 11030

사용자 로그인