Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1178334
  • 博文数量: 181
  • 博客积分: 4968
  • 博客等级: 上校
  • 技术积分: 1867
  • 用 户 组: 普通用户
  • 注册时间: 2008-01-13 21:52
文章分类

全部博文(181)

文章存档

2015年(2)

2013年(6)

2012年(22)

2011年(41)

2010年(27)

2009年(51)

2008年(32)

我的朋友

分类: LINUX

2008-11-12 15:17:19

在编译好qte和qtopia之后,接下来是konqueror embedded的编译, 源码是 konqueror-embedded-snapshot-20030705.tar.gz

本机编译脚本:
export QTDIR=/usr/local/host/qte-2.3.10
export QTEDIR=$QTDIR
export QPEDIR=/usr/local/host/qtopia-2.1.1
export PATH=$QTDIR/bin:$QPEDIR/bin:$PATH
export LD_LIBRARY_PATH=$QTDIR/lib:$QPEDIR/lib:$LD_LIBRARY_PATH
make distclean
./configure --enable-debug=full --libdir=$QPEDIR/lib --enable-static --disable-shared --prefix=$QPEDIR/image/opt/Qtopia --enable-qt-embedded --enable-embedded --enable-qtopia --enable-qpe --enable-readwrite --enable-cgi --enable-sidebar --enable-fontsubs --enable-largeicons --with-ssl-dir=/usr/local/host/openssl --with-qt-dir=$QTDIR --with-qt-libraries=$QTDIR/lib --with-qtopia-dir=$QPEDIR --with-gui=qpe --with-qt-includes=$QTDIR/include
make
make install

交叉编译脚本:
export QTDIR=/usr/local/arm/qte-2.3.10
export QTEDIR=$QTDIR
export QPEDIR=/usr/local/arm/qtopia-2.1.1
export PATH=$QTDIR/bin:$QPEDIR/bin:$PATH
export LD_LIBRARY_PATH=$QTDIR/lib:$QPEDIR/lib:$LD_LIBRARY_PATH
                                                                                                                                              
export AR=arm-linux-ar
export AS=arm-linux-as
export LD=arm-linux-ld
export RANLIB=arm-linux-ranlib
export CC=arm-linux-gcc
export CXX=arm-linux-g++
export NM=arm-linux-nm
                                                                                                                                              
./configure --disable-debug --libdir=$QPEDIR/lib --host=arm-linux --prefix=$QPEDIR/image/opt/Qtopia --enable-qt-embedded --enable-embedded --enable-qtopia --enable-qpe --enable-readwrite --enable-cgi --enable-sidebar --enable-fontsubs --disable-jshostext --enable-largeicons --with-ssl-dir=/usr/local/arm/openssl --with-qt-dir=$QTDIR --with-qt-libraries=$QTDIR/lib --with-qtopia-dir=$QPEDIR --with-gui=qpe --with-qt-includes=$QTDIR/include
make
make install
 
阅读(1396) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~