Re: Mozilla Windows CE Development
"FReD" <[email protected]> Fri, 18 Feb 2005 17:34:39 -0800
| Newsgroups | gmane.comp.mozilla.devel.small-devices |
|---|---|
| Organization | Another Netscape Collabra Server User |
| Message-ID | <[email protected]> |
"Doug Turner" <[email protected]> wrote in message news:[email protected]... > Hello all, > > Thank you for your interest in the Windows CE work we are doing. I have > gotten alot of feedback from my posting to the newsgroup regarding help on > building a great browser for Windows CE. I thought I would take this > moment to tell you the progress I have made and point out a few areas > where I think you can help. > > So, as of today, if you had a bit of time, you could build yourself a > browser that is based on the Mozilla source code. > > I have been able to port Minimo -- a smaller configuration of Mozilla over > to Windows CE. The heavy lifting is mostly done with respect to porting. > In fact, I have a IPAQ 6315 for a phone and it is the browser I use daily. > There are a few loose ends such as XPTCall > (http://www.mozilla.org/scriptable/xptcall-faq.html), build and config > changes, https, and code reviews. Most of these items have people working > on them. If you are interested in any, please let me know. The tracking > bug for all things windows ce related is here: > https://bugzilla.mozilla.org/show_bug.cgi?id=277211. > > Currently, I am building against the Pocket PC 2003 SDK. We may want to > adjust this at some point, but I thought it would be acceptable place to > start. The binary is 3.8MB compressed not including security. To run the > build I have, you need about 5mb of memory to display www.google.com (this > is a pretty soft number. i need a better tool to determine exact rss > usage -- if you have a tool in mind, please let me know) > > I have written up some notes on how to go about building this stuff. I > don't claim the notes are perfect, but they are a start. Ideally, the > notes will turn into a "how to build for windows ce" webpage. If someone > wants to help on this, please let me know. The notes are here: > http://www.meer.net/~dougt/minimo_ce/NOTES.txt. The short term plan is to > make building windows CE very simple -- as simply as building the Mozilla > suite or Firefox. > > The build works great on the device, but I am having some troubles getting > things to compile for the emulator. Maybe someone can help here. I have > toolwrappers (read my notes) for the emulator that I can send you. Just > to note, it looks like libraries are building built but nothing is being > exported. > > On to the application itself... > > If you try the build now you will find there is alot of windows > integration work that needs to happen. For example, we need to be able to > get our app into the start menu. I don't have a clue on how to do this > yet and am hoping that one of you do. > > Another thing you will notice is the UI for the application is terrible. I > really need your input and windows ce coding skills here. If you want to > take a look at the current code for the application, it is here: > http://lxr.mozilla.org/seamonkey/source/embedding/minimo/wince. > > You can download a sneak peak at this build here: > http://www.meer.net/~dougt/minimo_ce/MinimoCE_0.002.zip. Keep in mind, it > is basically the second build that I made that actually rendered a page > successfully. When you check it out, remember I told you: Lots of work to > do; Lots of work to do. > > If you find bugs, please write them up in bugzilla: > https://bugzilla.mozilla.org/enter_bug.cgi?product=Minimo For the > Operating System, just simply select other. We are working on adding a > Windows CE option. > > Please let me know what you think and sign up for work if you can. we > can't make this happen without you. > > Regards, > Doug > > > Does anyone have any ideas on how to correct this compile problem? I got to the end of Doug's "Building WINCE" doc and am still getting this error. The output of the error is below. C:\mozilla>make -f client.mk build Adding client.mk options from /cygdrive/c/mozilla/.mozconfig: MOZ_CO_PROJECT=suite MOZ_OBJDIR=$(TOPSRCDIR)/obj-arm WINCE=1 MINIMO=1 cd /cygdrive/c/mozilla/obj-arm /cygdrive/c/mozilla/configure Adding configure options from /cygdrive/c/mozilla/.mozconfig: --enable-application=suite --target=arm-wince --enable-win32-target=WINCE --enable-default-toolkit=windows --without-libIDL --disable-md --disable-xul --disable-profilesharing --disable-profilelocking --enable-single-profile --disable-extensions --disable-accessibility --disable-composer --enable-plaintext-editor-only --disable-mailnews --disable-ldap --disable-postscript --disable-mathml --disable-jsd --disable-jsloader --disable-installer --disable-xpinstall --disable-xpfe-components --disable-necko-disk-cache --enable-necko-small-buffers --disable-dtd-debug --disable-logging --disable-tests --enable-crypto --enable-necko-protocols=http,file,res,jar --enable-image-decoders=png,gif,jpeg --enable-strip --disable-debug loading cache ./config.cache checking host system type... i686-pc-cygwin checking target system type... arm-unknown-wince checking build system type... i686-pc-cygwin cross compiling from i686-pc-cygwin to arm-unknown-wince checking for host c compiler... checking for gcc... gcc gcc checking for host c++ compiler... checking for c++... c++ c++ checking for ranlib... no checking for ar... no checking whether the host c compiler (gcc ) works... yes checking whether the host c++ compiler (c++ ) works... yes checking for arm-wince-gcc... arm-wince-gcc checking for gcc... arm-wince-gcc checking whether the C compiler (arm-wince-gcc ) works... no configure: error: installation or configuration problem: C compiler cannot create executables. *** Fix above errors and then restart with "make -f client.mk build" make: *** [/cygdrive/c/mozilla/obj-arm/Makefile] Error 1 Thanks, FReD