в общем для кучи, посмотрел ct-ng, собирал по инструкции, вроде собралось, вот что получилось, меня смущает что так быстро:
CODE
petrovs@petrovs:~/crosstool-ng-1.9.0$ ./configure --prefix=$HOME/ctng --with-libtool=$HOME/ctng/libtool
Checking for 'grep'... /bin/grep
Checking whether '/bin/grep' supports -E... yes
Checking for 'sed'... /bin/sed
Checking whether '/bin/sed' supports -i and -e... yes
Checking for 'bash'... /bin/bash
Checking for 'cut'... /usr/bin/cut
Checking for 'install'... /usr/bin/install
Checking for 'make'... /usr/bin/make
Checking for 'gcc'... /usr/bin/gcc
Checking for 'awk'... /usr/bin/awk
Checking for 'bison'... /usr/bin/bison
Checking for 'flex'... /usr/bin/flex
Checking for 'makeinfo'... /usr/bin/makeinfo
Checking for 'automake'... /usr/bin/automake
Checking for 'libtool'... /home/petrovs/ctng/libtool (cached)
Checking for 'stat'... /usr/bin/stat
Checking for 'aria2c'... no
Checking for 'curl'... no
Checking for 'wget'... /usr/bin/wget
Checking for 'cvs'... /usr/bin/cvs
Checking for 'patch'... /usr/bin/patch
Checking for 'tar'... /bin/tar
Checking for 'gzip'... /bin/gzip
Checking for 'bzip2'... /bin/bzip2
Checking for 'lzma'... /usr/bin/lzma
Checking for 'readlink'... /bin/readlink
Checking for 'objcopy'... /usr/bin/objcopy
Checking for 'objdump'... /usr/bin/objdump
Checking for 'readelf'... /usr/bin/readelf
Checking for 'patch'... /usr/bin/patch
Checking for 'ncurses/ncurses.h'... no
Checking for 'ncurses/curses.h'... no
Checking for 'ncurses.h'... yes
Checking for 'libncursesw.so'... no
Checking for 'libncursesw.a'... no
Checking for 'libncursesw.dylib'... no
Checking for 'libncurses.so'... yes
Computing version string... 1.9.0
Building up Makefile... done
crosstool-NG configured as follows:
PREFIX='/home/petrovs/ctng'
BINDIR='/home/petrovs/ctng/bin'
LIBDIR='/home/petrovs/ctng/lib/ct-ng-1.9.0'
DOCDIR='/home/petrovs/ctng/share/doc/ct-ng-1.9.0'
MANDIR='/home/petrovs/ctng/share/man'
Now run:
make
make install
petrovs@petrovs:~/crosstool-ng-1.9.0$ make
SED 'ct-ng'
SED 'scripts/crosstool-NG.sh'
SED 'scripts/saveSample.sh'
SED 'scripts/showTuple.sh'
GEN 'paths.mk'
SED 'docs/ct-ng.1'
GZIP 'docs/ct-ng.1.gz'
petrovs@petrovs:~/crosstool-ng-1.9.0$ make install
MKDIR '/home/petrovs/ctng/bin/'
INST 'ct-ng'
RMDIR '/home/petrovs/ctng/lib/ct-ng-1.9.0/'
MKDIR '/home/petrovs/ctng/lib/ct-ng-1.9.0/'
INSTDIR 'config/'
INSTDIR 'contrib/'
INSTDIR 'kconfig/'
INSTDIR 'patches/'
INSTDIR 'scripts/'
INST 'steps.mk'
INST 'paths.mk'
INSTDIR 'samples/'
MKDIR '/home/petrovs/ctng/share/doc/ct-ng-1.9.0/'
INST 'docs/*.txt'
MKDIR '/home/petrovs/ctng/share/man/man1/'
INST 'ct-ng.1.gz'
For auto-completion, do not forget to install 'ct-ng.comp' into
your bash completion directory (usually /etc/bash_completion.d)
чуток смущает вывод:
For auto-completion, do not forget to install 'ct-ng.comp' into
your bash completion directory (usually /etc/bash_completion.d)
переводил словариком, че надо не понял (забил)
дальше по инструкции выбрал себе конфиг типа arm-unknown-linux-gnueabi
отредактировал путь
и получил:
petrovs@petrovs:~/ctngbuild$ ct-ng build.4
[INFO ] Performing some trivial sanity checks
[INFO ] Build started 20101118.165702
[INFO ] Building environment variables
[WARN ] Directory '/home/petrovs/src' does not exist.
[WARN ] Will not save downloaded tarballs to local storage.
[EXTRA] Preparing working directories
[ERROR] Missing: 'i686-pc-linux-gnu-gcj' or 'i686-pc-linux-gnu-gcj' or 'gcj' : either needed!
[00:01] / make[1]: *** [build] Ошибка 1
make: *** [build.4] Ошибка 2
прямо какой то злой рок, блин