Windows Mobile的交叉编译工具:ce…

来源:互联网 发布:容联云通讯 知乎 编辑:程序博客网 时间:2024/06/05 11:09
http://cegcc.sourceforge.net/
http://sourceforge.net/projects/cegcc/files/

Which enable you port some libs which are difficult todirectly be ported to Visual Studio.
As know, m$ did not strictly follow C++ standard when doing VC...

---------------------------------------------------------------------------------------------------

CeGCC cross compiler for Windows CEAboutSoftware versionsDownloadDevelopmentWikiNewsProject

The CeGCC project implements a cross compilerfor Windows CE. You can develop on a PC, and create apps that runon a PDA or a WinCE cell phone.

We're aiming at providing a consistent and working set ofdevelopment tools that generate code for Windows CE devices such asPDA's and smart phones. Our intended development platforms are theusual development workstations, e.g. GNU/Linux, FreeBSD, MacOS X, orcygwin.

Windows CE, Windows Mobile, Windows Embedded, PocketPC,SmartPhone, .. many of these names refer to variations on the sametarget platform. We currently see evolution to support not onlythe ARM processorfamily but also Windows CEon x86processors (e.g.eBox) which includesthe IntelAtom processor (CE onAtom)

These are ourcurrent products :

  • arm-mingw32ce : toolset to build native Windows CEapplications
  • arm-cegcc : toolset to port unix source to Windows CE
  • i386-mingw32ce : toolset to build native Windows CEapplications for x86 powered devices

Windows Mobile 6.1 and highersupported now ! (in the SVN version ofarm-mingw32ce)

What's the meaningof arm-cegcc and arm-mingw32ce ?They both describe the target platform : we're building foran ARM processor, runningthe Windows CE operating system, on unknown hardware (could be anybrand of PDA or smart phone). Inthe cegcc case, there's aportability layer; inthe mingw32ce case thereisn't.Similarly, i386-mingw32ce meanswe're targetting x86processors or clones, running Windows CE,Windows CE Embedded, etc. .

This project delivers source code (best taken from SVN), andalso binary versions of the development tools. The availability ofbinary versions depends somewhat on volunteers creating thepackages.

You can contact us via the mailing list.

Powered by Sourceforge.net Valid HTML 4.01 Transitional

---------------------------------------------------------------------------------------------------------------------------------------


Cygwin 交叉编译 ffmpeg for wince

ffmpeg作为一个开源的比较好的解码库,编码库,音视频播放位一体的程序,很值得参考,虽然直接把他一直到mobile上面效率不佳,但是经过针对arm汇编优化后的解码库还是不错的。我在我的项目里面准备使用它的解码库,根据自己的实际需要裁减编译成vs2005可用的静态库。dw#A,T9v"NNm`m
  从网上找了很多资源,可是都有头没尾的,自己实际编译了一下。整理供自己以后编译用,呵呵。0s&~[au.xd
  环境:Windows XP 下用Cygwin,cygwin的版本无所谓,安装一个相对完整的cygwin就ok了。
  编译器用cygwin-cegcc-mingw32ce-0.51.0-1,这个是一整个cygwin或者linux下面编译ce程序的工具链。下载地址是[url=http://ncu.dl.sourceforge.net/sourceforge/cegcc/cygwin-cegcc-cegcc-0.51.0-1.tar.gz][color=#0000ff]http://ncu.dl.sourceforge.net/sourceforge/cegcc/cygwin-cegcc-cegcc-0.51.0-1.tar.gz[/color][/url]
  源码:我用的是国外一个播放器裁减的他们在windowsce上面编译过的版本,下载地址为[url=http://nchc.dl.sourceforge.net/sourceforge/ambulant/ffmpeg-wm5.zip][color=#0000ff]http://nchc.dl.sourceforge.net/sourceforge/ambulant/ffmpeg-wm5.zip[/color][/url] 是2009年2月份的一个版本,还可以接受,不是太老。
  下面就开始了:
  1.将cygwin-cegcc-mingw32ce-0.51.0-1解压到cygwin的安装目录下,如果驻cygwin的安装目录为c:\\cygwin,P%Sp/KA/n0^X
   那么解压后cegcc的目录应该为c:\\cygwin\\opt\\mingw32ce
  2.将源码解压,随便你想放到哪里,假设c:\\cygwin\\ffmpegwm5 下面就行
  3.打开cygwin,进入源码目录,如 cd /ffmpegwm5
  4.修改PATH, 在命令行健入 PATH=/opt/mingw32ce/bin:$PATH
  5.开始编译,输入以下configure选项:-uBATV*W
0 0
原创粉丝点击