sudo apt-get install automake bison chrpath flex g++ git gperf gawk libexpat1-dev libncurses5-dev libsdl1.2-dev libtool python2.7-dev texinfo
sudo apt-get install help2man
./configure --enable-local
make
make install
./ct-ng show-arm-cortex_a8-linux-gnueabi
./ct-ng arm-cortex_a8-linux-gnueabi
./ct-ng menuconfig
./ct-ng build
li@li-shuangbin:/vm/embedded/crosstool-ng$ ./ct-ng build
[INFO ] Performing some trivial sanity checks
[ERROR] Don't set LD_LIBRARY_PATH. It screws up the build.
[ERROR]
[ERROR] >>
[ERROR] >> Build failed in step '(top-level)'
[ERROR] >>
[ERROR] >> Error happened in: CT_Abort[scripts/functions@331]
[ERROR] >> called from: CT_TestAndAbort[scripts/functions@351]
[ERROR] >> called from: main[scripts/crosstool-NG.sh@55]
[ERROR] >>
[ERROR] >> For more info on this error, look at the file: 'build.log'
[ERROR] >> There is a list of known issues, some with workarounds, in:
[ERROR] >> 'docs/B - Known issues.txt'
[ERROR]
[ERROR] (elapsed: 24833418:24.54)
[00:00] / make: *** [build] Error 1
unset LD_LIBRARY_PATH
midir /home/li/src
阅读(1983) | 评论(0) | 转发(0) |