Difference between revisions of "HIP:TS-7000:cross-compiling"
Jump to navigation
Jump to search
(→about) |
m (→download and setup the toolchain) |
||
Line 6: | Line 6: | ||
=download and setup the toolchain= | =download and setup the toolchain= | ||
+ | |||
+ | You can download the cross-compilation toolchain from: | ||
+ | |||
+ | http://www.embeddedarm.com/software/software-arm-linux.php | ||
+ | |||
+ | The various toolchains are near the bottom of the page. Make sure to download the toolchain with the glibc that matches the glibc of whatever environment you want to compile to. | ||
+ | |||
+ | You can find out what verison of glibc is on your computer by running either: | ||
+ | |||
+ | "rpm -q glibc" for Redhat RPM based systems, or: | ||
+ | |||
+ | "ls -al /lib/libc*" for other systems. |
Revision as of 14:44, 20 May 2008
about
This page describes the creation and usage of a toolchain for cross-compiling from a native linux environment to an ARM environment.
Building rdate to run in Technologic System's TS-Linux for ARM is used as an example, but the steps should be applicable to any application.
download and setup the toolchain
You can download the cross-compilation toolchain from:
http://www.embeddedarm.com/software/software-arm-linux.php
The various toolchains are near the bottom of the page. Make sure to download the toolchain with the glibc that matches the glibc of whatever environment you want to compile to.
You can find out what verison of glibc is on your computer by running either:
"rpm -q glibc" for Redhat RPM based systems, or:
"ls -al /lib/libc*" for other systems.