Build your own cross compiler for arm

Build toolchain is easy by crosstool-NG project. It aims at build cross compilers. Toolchains are an essential component in a embedded system development. It will compile, assemble and link the code that is being developed.

Checkout latest code:
hg clone http://ymorin.is-a-geek.org/hg/crosstool-ng

Configuration:
./configure –prefix=/some/place
make
make install
export PATH=”${PATH}:/some/place/bin”
cd /your/development/directory
ct-ng list-samples
ct-ng arm-cortex_a8-linux-gnueabi
ct-ng menuconfig (tune some options for your needed)
ct-ng build

It’s so easy, rock with your toolchains …

Advertisements

About xlcwu

Self-employed (One-man Company), Developer/Chief Designer/Consultant, Embedded Linux/NAS/Storage/Platform/Devices, Xcode/Cocos2D/Cocoa/Objective-C, at Joe’s Lab – Newland ESP (TM).
This entry was posted in Embedded and tagged , , , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s