[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ttylinux:117] Can't build the latest toolchain.



BruceFerjulian wrote:
> Kit: ttylinux-src-mp8.tar
> 
> Toolchain build is looking for 2.21 of binutils but it no longer
> exists, only 2.21.1 exists. How do I change the build to use the new
> kit.
> 
> Tried to trick out by downloading by hand the 2.21.1 kit and renaming
> it to 2.21 and replacing the md5sum but the build later complains it
> can't unzip. ( unzip, isn't it a bz2 file )?
> 
> -Bruce-
> 


I forget which one used binutils-2.21. Which make target are
you using? I now have:
     "make i486-2.9-gnu" ............ sm-pc-i486
     "make i486-2.12.1-gnu" ......... ut|ws-pc-i486
     "make i686-2.12.1-gnu" ......... ut|ws-pc-i686
     "make x86_64-2.12.1-gnu" ....... ut|ws-pc-x86_64


Try changing it to binutils-2.21.1.tar.bz2 by first making
the scripts/binutils/binutils-versions.sh file look like:

# vim: syntax=sh

_BINUTILS[0]="binutils-2.19.1"
_BINUTILS[1]="binutils-2.20.1"
_BINUTILS[2]="binutils-2.21.1"
_BINUTILS[3]="binutils-2.22"

_BINUTILS_MD5SUM[0]="023222f392e9546bcbb0b4c0960729be"
_BINUTILS_MD5SUM[1]="2b9dc8f2b7dbd5ec5992c6e29de0b764"
_BINUTILS_MD5SUM[2]="bde820eac53fa3a8d8696667418557ad"
_BINUTILS_MD5SUM[3]="ee0f10756c84979622b992a4a61ea3f5"

_BINUTILS_URL[0]="ftp://ftp.gnu.org/gnu/binutils
http://ftp.gnu.org/gnu/binutils";
_BINUTILS_URL[1]="ftp://ftp.gnu.org/gnu/binutils
http://ftp.gnu.org/gnu/binutils";
_BINUTILS_URL[2]="ftp://ftp.gnu.org/gnu/binutils
http://ftp.gnu.org/gnu/binutils";
_BINUTILS_URL[3]="ftp://ftp.gnu.org/gnu/binutils
http://ftp.gnu.org/gnu/binutils";

and then change xbt-build-config.sh to have:

BINUTILS="binutils-2.21.1"


If you want to then build a ws ttylinux, then
there is more to do there.