my environment:
OS: Ubuntu 10.04
Cross-compiler:
- CC = linux-arm-gcc (4.1.2)
- CXX = linux-arm-g++ (4.1.2)
- Download tslib source code
- download tslib tar or zip file from http://tslib.berlios.de/
- my download file version is named kergoth-tslib-1.0-94-gd4073fe.zip
- Install dependency libraries
- sudo apt-get install m4 autoconf automake libtool
- set tslib install path
- export PREFIX=/home/myname/tslib/BUILD
#set INSTALL PATH by your choice - execute autogen.sh
- ./autogen.sh
- After this command finished, it generates configure file for tslib.
- configure tslib
- ./configure --build=i386-linux --host=arm-linux --target=arm --prefix=$PREFIX ac_cv_func_malloc_0_nonnull=yes
- make; make install
0 意見:
張貼留言