Toolchain

From t-hack.com - Hack X300T / X301T
Jump to: navigation, search

Contents

buildroot_x300t

i always use buildroot to build my toolchains and i really like it! so there is no serious reason for not doing it here! btw. sigma and for instance the popcorn-guys also use buildroot ;-)

we use pretty much the "popcorn-version" of all tools. that enables us to run their binary with our libs ;-)

if u use ubuntu 7.10 you can download the binary toolchain or you can simply build it out of source .. your decision!

downloads

mipsel_xtc_20080307_x300t.tar.bz2

buildroot_x300t_20080312.tar.bz2

create out of source

install tools

if u use a debian based distributions, the following command should install all necessary tools ..

apt-get install bison flex gettext build-essential texinfo

unpack source

basically, you can unpack the sources where ever you want! but the install dir in the config file points to /x300/mipsel_xtc_2008xxyy! so either you create a symlink to your desired directory or you change the install path.

tar xjvf buildroot_x300t_20080312.tar.bz2

cd into the directory!

build sources

just run:

make

if there is an error couldn't find ../asm.h just run

./fix_includes.sh

and another

make

toolchain from scratch

to be done ..