[ZLG-ARM] qtopia-opensource-4.2.2在arm上的移植

[复制链接]
1874|2
 楼主| lpczcy 发表于 2009-6-4 13:57 | 显示全部楼层 |阅读模式
1.&nbsp;cd&nbsp;src/libraries/qtopiabase<br />2.<br />&nbsp;&nbsp;&nbsp;cp&nbsp;custom-linux-cassiopeia-g++.h&nbsp;custom-linux-arm-g++.h<br />&nbsp;&nbsp;&nbsp;cp&nbsp;custom-linux-cassiopeia-g++.cpp&nbsp;&nbsp;custom-linux-arm-g++.cpp<br />3.&nbsp;<br />&nbsp;&nbsp;&nbsp;./configure&nbsp;-no-qvfb&nbsp;&nbsp;-xplatform&nbsp;&nbsp;linux-arm-g++&nbsp;&nbsp;-arch&nbsp;arm&nbsp;-image&nbsp;/home/qtopia-opensource-4.2.2&nbsp;&nbsp;-prefix&nbsp;/home/zhangyifeng/qtopia-opensource-4.2.2&nbsp;&nbsp;-release&nbsp;-displaysize&nbsp;240x320&nbsp;-no-modem&nbsp;-quicklaunch<br />&nbsp;&nbsp;&nbsp;输入&nbsp;yes<br />4.&nbsp;zoomer_p.cpp&nbsp;编译错误原因是zoomer_p.h里的常量没有被扩展到.cpp文件里,可以直接拷贝到.cpp文件里使用。<br /><br />注意编译器是:arm-linux-gcc&nbsp;-v<br />Reading&nbsp;specs&nbsp;from&nbsp;/opt/usr/bin/../lib/gcc/arm-linux/4.0.0/specs<br />Target:&nbsp;arm-linux<br />Configured&nbsp;with:&nbsp;/opt/eldk/build/arm-2007-01-21/work/usr/src/denx/BUILD/crosstool-0.35/build/gcc-4.0.0-glibc-2.3.5-eldk/arm-linux/gcc-4.0.0/configure&nbsp;--target=arm-linux&nbsp;--host=i686-host_pc-linux-gnu&nbsp;--prefix=/var/tmp/eldk.bMi2nK/usr/crosstool/gcc-4.0.0-glibc-2.3.5-eldk/arm-linux&nbsp;--with-headers=/var/tmp/eldk.bMi2nK/usr/crosstool/gcc-4.0.0-glibc-2.3.5-eldk/arm-linux/arm-linux/include&nbsp;--with-local-prefix=/var/tmp/eldk.bMi2nK/usr/crosstool/gcc-4.0.0-glibc-2.3.5-eldk/arm-linux/arm-linux&nbsp;--disable-nls&nbsp;--enable-threads=posix&nbsp;--enable-symvers=gnu&nbsp;--enable-languages=c,c++&nbsp;--enable-shared&nbsp;--enable-c99&nbsp;--enable-long-long&nbsp;--enable-__cxa_atexit<br />Thread&nbsp;model:&nbsp;posix<br />gcc&nbsp;version&nbsp;4.0.0&nbsp;(DENX&nbsp;ELDK&nbsp;4.1&nbsp;4.0.0)<br />uname&nbsp;-r<br />2.6.21-1.3194.fc7<br />gcc&nbsp;-v<br />Using&nbsp;built-in&nbsp;specs.<br />Target:&nbsp;i386-redhat-linux<br />Configured&nbsp;with:&nbsp;../configure&nbsp;--prefix=/usr&nbsp;--mandir=/usr/share/man&nbsp;--infodir=/usr/share/info&nbsp;--enable-shared&nbsp;--enable-threads=posix&nbsp;--enable-checking=release&nbsp;--with-system-zlib&nbsp;--enable-__cxa_atexit&nbsp;--disable-libunwind-exceptions&nbsp;--enable-languages=c,c++,objc,obj-c++,java,fortran,ada&nbsp;--enable-java-awt=gtk&nbsp;--disable-dssi&nbsp;--enable-plugin&nbsp;--with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre&nbsp;--enable-libgcj-multifile&nbsp;--enable-java-maintainer-mode&nbsp;--with-ecj-jar=/usr/share/java/eclipse-ecj.jar&nbsp;--with-cpu=generic&nbsp;--host=i386-redhat-linux<br />Thread&nbsp;model:&nbsp;posix<br />gcc&nbsp;version&nbsp;4.1.2&nbsp;20070502&nbsp;(Red&nbsp;Hat&nbsp;4.1.2-12<br />&nbsp;<br /> &nbsp;&nbsp;<br />
miclinux 发表于 2009-6-4 14:02 | 显示全部楼层

不错

  
billen 发表于 2009-6-4 15:57 | 显示全部楼层

不会这么简单的哦

  
您需要登录后才可以回帖 登录 | 注册

本版积分规则

42

主题

77

帖子

0

粉丝
快速回复 在线客服 返回列表 返回顶部