-
Notifications
You must be signed in to change notification settings - Fork 0
编译koreader base
=== 编译koreader-base (for Kindle 4 black) ===
( 参考1: Build Environment Setup Guide, by @Kai771 参考2: https://github.com/koreader/koreader-base上的README.md 参考3: gcc 降级安装,多版本共存 http://blog.csdn.net/sdfgh2046/article/details/5844824 )
$ sudo apt-get install git subversion g++ lua5.1 cmake libsdl1.2-dev
$ git config --global user.name "leeoo"
$ git config --global user.email "[email protected]"
$ git clone https://github.com/leeoo/koreader-base.git
-
安装arm交叉编译toolchain - arm-2012.03-57-arm-none-linux-gnueabi (Sourcery CodeBench Lite Edition for ARM GNU/Linux.) 参考: Sourcery CodeBech Lite安装及使用 http://blog.csdn.net/lithocntlor/article/details/7688264 android交叉编译c程序 http://my.oschina.net/f839903061/blog/147989 Ubuntu 12.10安装交叉编译器arm-none-linux-gnueabi-gcc http://www.linuxidc.com/Linux/2013-03/82016.htm 下载链接: Download your Lite edition copy of Sourcery CodeBench now: http://go.mentor.com/3fg3v
-
安装automake软件包 $ sudo apt-get install automake
-
安装libtool软件包 $ sudo apt-get install libtool
-
安装ccache $ sudo apt-get install ccache
$ cd koreader-base
$ git remote add upstream https://github.com/koreader/koreader-base.git
$ make fetchthirdparty
$ make