How To Build Toolchain
How To Build Toolchain
Table of Contents
Preface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
1
Install Ubuntu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Tune environment and install required softwares . . . . . . . . . . . . . . . .
1.2.1 Change /bin/sh to bash . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1.2.2 Change software sources to Main server . . . . . . . . . . . . . . . . . . . .
1.2.3 Install common tools and libraries . . . . . . . . . . . . . . . . . . . . . . . . .
1.2.4 Download and deploy prebuilt native tools . . . . . . . . . . . . . . . . .
1.3 Build GNU Tools for ARM Embedded Processors . . . . . . . . . . . . . . .
2
2
2
3
4
4
6
Appendix A
7
8
9
9
Known Issues . . . . . . . . . . . . . . . . . . . . . 10
Preface
Preface
This manual provides a step-by-step guide to help you build GNU Tools
for ARM Embedded Processors on a newly installed Ubuntu 8.10 operating
system.
Note that the steps below may most likely also work on an Ubuntu which
is not newly installed or version other than 8.10, but it is not guaranteed.
In this case please go through Appendix A [Known Issues], page 10 before
you go, and you need to solve any other problems you may encounter by
yourself. We highly appreciate if you could share the problems and solutions
with us.
Then choose No in the Configuring dash popup dialog and press enter.
You can run following command and check that /bin/sh points to bash:
$ ls -l /bin/sh
...... /bin/sh -> bash
Note that the package management software might complain that several
packages cannot be installed properly while installing texlive and texliveextra-utils. It wont harm our building process, please just ignore it now.
Some of those tools might be unnecessary, but it wont hurt if installed.
Please be noted that those prebuilt tools are for Ubuntu 8.10 32-bit and
not suitable for any other build platforms. For those working on other build
platforms, please either prepare your own build tools and use them through
option build tools of build script or just use the ones from your system by
not specifying the build tools option.
10