Difference between revisions of "Projects/KDE on Windows/Windows CE/Emerge"

(Replaced content with "{{Moved To Community|Windows/Imported From TechBase/{{#titleparts:{{PAGENAME}}||3}}}}")
Line 1: Line 1:
== Introduction  ==
{{Moved To Community|Windows/Imported From TechBase/{{#titleparts:{{PAGENAME}}||3}}}}
This page is a work in progress. There is only one application that starts on Windows Mobile right now and is not tested yet. It is intended to give a starting point for Windows Mobile development with the help of emerge. This guide is specialized for Windows Mobile 6, but can be adapted for other versions.
== Requirements  ==
*Microsoft Windows XP/Vista/7 (tested with win7)<br>
*Microsoft Visual Studio 2008/05 Professional<br>
*(Service Pack 1 for Visual Studio) get form [http://www.microsoft.com/downloads/details.aspx?displaylang=de&FamilyID=fbee1648-7106-44a7-9649-6d9f6d58056e here] (take the right language that fit to your Visual Studio)<br>
*Windows Mobile 6 Professional and Standard Software Development Kits Refresh, get it from [http://www.microsoft.com/downloads/details.aspx?familyid=06111a3a-a651-4745-88ef-3d48091a390b&displaylang=en here]<br>
*Windows Mobile 6.5 Developer Tool Kit, get it from [http://www.microsoft.com/downloads/details.aspx?familyid=20686a1d-97a8-4f80-bc6a-ae010e085a6e&displaylang=en here]<br>
*Emerge, check it out from svn://anonsvn.kde.org/home/kde/trunk/kdesupport/emerge check [[Getting Started/Build/Windows/emerge|here]] for more info how it is setup<br>
== Setup Emerge  ==
Edit your kdesettings.bat to&nbsp; get emerge to build KDE for Windows Mobile. Here are some suggestions how your importent setttings should look like:<br>
*set KDECOMPILER=msvc2008<br>
*set EMERGE_USE_SHORT_PATH=1 (shortens the path length, which can be sometimes critical)<br>
*set EMERGE_MAKE_PROGRAM=%KDEROOT%\bin\jom.exe (can be enabled for faster builds)<br>
== Start compiling programs for Windows Mobile  ==
After setting up emerge you can get info the emerge building environment by calling kdeenv.bat out of the emerge directory. Then you can start compiling programs for Windows Mobile by typing emerge &lt;package&gt;.<br>
== Packages compiled for Windows Mobile right now<br>  ==
== Compile Process<br>  ==
Almost every package is compiled twice because the need of the codegenerators and other generators that are used. So emerge is doing the following pipeline:<br>
*fetch(for the building platform)<br>
*unpack(for the building platform)<br>
*compile for the building platform<br>
*cleanimage for the building platform<br>
*install for the building platform<br>
*manifest for the building platform<br>
*qmerge for the building platform
*compile for the target platform
*cleanimage for the target platform
*install for the target platform
*manifest for the target platform
*qmerge for the target platform<br><br>
If you like to build a special package only for the building platform type:<br>
emerge --disable-buildtarget &lt;package_name&gt;<br>
If you like to build it for the target platform only type:<br>
emerge --disable-buildhost &lt;package_name&gt;<br>
If you like to compile something manually for the target platform use the switchtotargetenv script to switch the enviroment to the target platform, but if you like to compile other packages again with emerge you need to reopen the emerge enviroment to get the the right enviroment back.<br>
== Known Issues<br>  ==
*If there is an svn error accours emerge looks like it is freezd
*If a compile process from the building platform goes through and the target build failed the package is marked as installed in emerge<br>
== Tools for Windows Mobile ==
*[http://www.dotfred.net/TaskMgr.htm Task Manager]
*[http://www.codeproject.com/KB/windows/VirtualMemory.aspx?msg=3360923 Virtual Memory Viewer]
The Task Manager can do more then show processes, it can netstat, regedit, ping and many other useful things.

Latest revision as of 14:19, 11 March 2016

This page is now on the community wiki.

This page was last edited on 11 March 2016, at 14:19. Content is available under Creative Commons License SA 4.0 unless otherwise noted.