HIP:TS-7000:cross-compiling

From Earlham CS Department
Revision as of 14:44, 20 May 2008 by Dylanp (talk | contribs) (download and setup the toolchain)
Jump to navigation Jump to search

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.