Crosstool-ng
From Attie's Wiki
(Difference between revisions)
m |
m |
||
Line 27: | Line 27: | ||
# build | # build | ||
ct-ng build | ct-ng build | ||
+ | </source> | ||
+ | |||
+ | If everything went smoothly... have a look in <code>~/x-tools/</code> | ||
+ | <source lang="bash"> | ||
+ | $ ls -l /home/agrande/x-tools/ | ||
+ | total 4 | ||
+ | dr-xr-xr-x 8 agrande agrande 4096 2012-07-27 14:13 arm-bare_newlib_cortex_m3_nommu-eabi | ||
</source> | </source> |
Revision as of 14:16, 27 July 2012
Building
You will need to install some packages:
apt-get install gperf texinfo libtool automake
./configure make sudo make install
Using
To keep a cache of the downloaded sources, do the following
mkdir ~/src
Then configure and build the toolchain!
# pick a default config, or make your own from scratch! cp ${CROSSTOOL_NG_SRC}/samples/${CHOSEN_SAMPLE}/crosstool.config .config # review / change options ct-ng menuconfig # build ct-ng build
If everything went smoothly... have a look in ~/x-tools/
$ ls -l /home/agrande/x-tools/ total 4 dr-xr-xr-x 8 agrande agrande 4096 2012-07-27 14:13 arm-bare_newlib_cortex_m3_nommu-eabi