欢迎来到天天文库
浏览记录
ID:11405686
大小:26.50 KB
页数:3页
时间:2018-07-11
《webkit交叉编译心得》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、WEBKIT交叉编译心得周末哪都没去,在公司呆了两天,终于搞定了。看到小屏幕上浏览器窗口,心里轻松了,终于完成了。整个过程是参考http://ppbabytiger.spaces.live.com/blog/cns!549302309A9552BE!397.entry头顶盔*手持剑*脚蹬靴,胖小虎...写的交叉编译Webkit(基于GTK+DFB)很巧的是当初在intel打工时,也是做这个项目,只是没见过博主。细节的地方做了些改动和纠错DirectFB用的命令是:./configure-host=arm-linux--prefix=$ROOTFS_DI
2、R/usr--with-gfxdrivers=none--enable-sdl=no --disable-x11"CFLAGS=-I$ROOTFS_DIR/usr/include""LIBS=-L$ROOTFS_DIR/usr/lib-lz-ljpeg" &&make&&makeinstallglib-2.12.0:exportARCH=armCC=$ARCH-linux-gccechoac_cv_type_long_long=yes>>$ARCH-linux.cacheechoglib_cv_long_long_format=ll>>$ARCH-li
3、nux.cacheechoglib_cv_stack_grows=no>>$ARCH-linux.cacheechoglib_cv_uscore=no>>$ARCH-linux.cacheechoac_cv_func_posix_getpwuid_r=yes>>$ARCH-linux.cache./configure--prefix=$ROOTFS_DIR/usr--cache-file=$ARCH-linux.cache--build=i686-pc-linux-gnu--target=$ARCH-linux--host=$ARCH-linux&&m
4、ake&&makeinstallglib在做configure时,如果还遇到testxxx过不去,打开configure,查找相应的符号XXX,输入echoXXX=no>>$ARCH-linux.cacheno和yes看情况选吧cairo-1.4.2exportARCH=armCC=$ARCH-linux-gccexportCFLAGS="-I$ROOTFS_DIR/usr/include"exportLDFLAGS="-L$ROOTFS_DIR/usr/lib" ./configure--prefix=$ROOTFS_DIR/usr--enable-
5、directfb--disable-xlib--disable-win32--enable-png--enable-freetype--enable-pdf--enable-ps--build=i686-pc-linux-gnu--target=$ARCH-linux--host=$ARCH-linux&&make&&makeinstallpango-1.16.2:exportARCH=armCC=$ARCH-linux-gccexportLDFLAGS="-L$ROOTFS_DIR/usr/lib-Wl,-rpath=$ROOTFS_DIR/usr/
6、lib"exportFREETYPE_CONFIG=$ROOTFS_DIR/usr/bin/freetype-config./configure--prefix=$ROOTFS_DIR/usr--build=i686-pc-linux-gnu--with-arch=$ARCH--without-x--target=$ARCH-linux--host=$ARCH-linux&&make&&makeinstallpango还是有点问题,字体显示还不正常。 webkit的地方有一点改动./configure--prefix=$ROOTFS_DIR/usr--
7、with-target=directfb--without-x--build=i686-pc-linux-gnu--target=$ARCH-linux--host=$ARCH-linuxCFLAGS=-I$ROOTFS_DIR/usr/include CPPFLAGS=-I$ROOTFS_DIR/usr/includeicu_config=$ROOTFS_DIR/usr&&make&&makeinstall1.可能出现缺少X11的头文件,搜索下缺少的X11的文件,复制到$ROOTFS_DIR/usr/include下。2.出现失败信息关于“u_cha
8、rType_3_6”,打开libJavaScriptCore.la(跟autogen.sh同一
此文档下载收益归作者所有