2008. 5. 26. 13:44
ARM EABI crosscompiler using crosstool-0.42
2008. 5. 26. 13:44 in Embedded System/Embedded Linux
Martin's crosstool bits
Last updated: 22 May 2006
Download
If you're just looking for packages of prebuild crosscompilers, there are some in the packages directory.Intro
I've been hacking crosstool to make it built an ARM EABI crosscompiler for the Debian ARM EABI architecture project, which requires as minimum versions of things:- gcc-4.1.0
- glibc-2.4 with the ports collection and using NPTL for threads
- binutils-latest, such as 2.16.91.0.7 (the last official release, 2.16.1, is not recent enough) and
- linux-2.6.16
Here are some bits:
- Reference manual for crosstool-0.42's internal variables
- Patch set to crosstool-0.42 to enable compilation of glibc-2.4 + ports and NPTL
- Extra patches to enable linux-2.6.16 and ARM1026 CPU
- Config files and script to build ARM EABI cross compiler:
- earm.config: pbrook's 2006-04-21 kernel config for QEMU
- earm.dat
- latest.dat
- latest-earm.sh
Packaging crosstool's output
Here are two scripts to package crosstool output as a tarball or a Debian package- mktarball.sh makes a .tgz suitable for unpacking under / (or for Slackware)
- mkdeb.sh makes a .deb package suitable for Debian (this uses mktarball.sh)
To install one of the .debs on Debian, download it and say (e.g.)
dpkg -i arm-crosstool-linux-gnueabi-gcc-4.1.0-glibc-2.4-crosstool_0.42-2_i686.deband to remove it again
dpkg -r arm-crosstool-linux-gnueabi-gcc-4.1.0-glibc-2.4-crosstool
Download
There are some prebuild crosscompilers in the packages directory.In the filenames, the first part is the target architecture, while the final "_i686" or whatever tells you what they run on.
QEMU
The stuff that used to be here about running the results under QEMU have moved to their own page.Martin Guy <martinwguy@yahoo.it> | If you found this useful, you can support me |
'Embedded System > Embedded Linux' 카테고리의 다른 글
부팅시간 줄이기 - BootupTimeReductionHowto (0) | 2008.05.31 |
---|---|
scratchbox 설치 (0) | 2008.05.26 |
Embedded Linux Conference 2008 (0) | 2008.05.26 |
Linux /Proc File System for Embedded Systems (0) | 2008.05.26 |
크로스컴파일 툴킷 scratchbox (0) | 2007.07.13 |