#The test suite will be installed into /root/uClibc directory. To run # x the test suite enter the /root/uClibc/test directory and type # x "make UCLIBC_ONLY=1 CC=/bin/true check". # x See the /root/uClibc/test/README for additional information. export CFLAGS="-march=armv5te -mtune=xscale -mfloat-abi=soft -mfpu=vfp -mabi=aapcs-linux -mthumb -O2 -Wall" export LDFLAGS="-L/ffp/lib -lintl" export CPPFLAGS="-I/ffp/include -I/ffp/include/readline" export CXXFLAGS="-I/ffp/include -I/ffp/include/readline" #http://downloads.tmuniz.com/diversos/livros/readonline/CLFS-EMBEDDED-GIT-0.0.1-20130812/arm/cross-tools/variables.html #http://downloads.tmuniz.com/diversos/livros/readonline/CLFS-EMBEDDED-GIT-0.0.1-20130812/arm/cross-tools/abi.html ABI CLFS_ABI=Value Note aapcs-linux aapcs-linux Recommended for EABI. Standard Linux 32 bit (int) enums apcs-gnu apcs-gnu Recommended for OABI atpcs atpcs Thumb ABI aapcs aapcs EABI w/ variable size enums iwmmxt iwmmxt Supports Intel XScale MMX extensions
Processor selection:
http://www.arm.com/products/processors/selector.php
https://gcc.gnu.org/install/configure.html, gcc -v:
--prefix=/ffp --with-local-prefix=/ffp --build=arm-ffp-linux-uclibcgnueabi --host=arm-ffp-linux-uclibcgnueabi --disable-nls --enable-shared --enable-languages=c,c++ --enable-__cxa_atexit --enable-c99 --enable-long-long --enable-threads=posix --disable-multilib --with-system-zlib --enable-checking=release --with-float=soft --with-endian=little --enable-tls -mcpu=armv5te --with-tune=arm946e-s --with-mabi=aapcs-linux --with-lib-path=/ffp/armv5tel-unknown-linux-uclibceabi/lib:/ffp/lib:/usr/local/lib:/lib:/usr/lib
Compilare uClibc 0.9.33.2 (previous try):
http://www.uclibc.org/toolchains.html -> complicat rau bug: https://bugs.uclibc.org/2089 patch: https://github.com/mat-c/uClibc/commit/328d392c54aa5dc2b8e7f398a419087de497de2b
export CFLAGS="-march=armv5te -mtune=arm946e-s -mfloat-abi=soft -mabi=aapcs-linux -mthumb -lintl -Wall -Wextra -Wno-sign-compare" export CFLAGS="-march=armv5te -mtune=arm946e-s -mfloat-abi=soft -mabi=aapcs-linux -mthumb -lintl -Wall" export LDFLAGS="-L/ffp/lib -lintl" export CPPFLAGS="-I/ffp/include -I/ffp/include/readline" export CXXFLAGS="-I/ffp/include -I/ffp/include/readline" rm nohup.out make menuconfig #make ARCH=arm V=2 PREFIX=/ffp BUILD_CFLAGS="-march=march=armv5te -mtune=arm946e-s -mfloat-abi=soft -mabi=aapcs-linux -mthumb -lintl" UCLIBC_EXTRA_CFLAGS="-march=march=armv5te -mtune=arm946e-s -mfloat-abi=soft -mabi=aapcs-linux -mthumb -lintl -Wall -Wextra -Wno-sign-compare" UCLIBC_EXTRA_CPPFLAGS="-I/ffp/include -I/ffp/include/readline" BUILD_LFLAGS="-L/ffp/lib" make ARCH=arm V=2 PREFIX=/ffp BUILD_CFLAGS="-march=march=armv5te -mtune=arm946e-s -mfloat-abi=soft -mabi=aapcs-linux -mthumb -lintl -Wall -Wno-sign-compare" BUILD_LFLAGS="-L/ffp/lib --target=armv5tel-unknown-linux-uclibceabi" -msoft-float