Re: Minimo WinCE Detailed Build Instructions

Aaron Reed <[email protected]> Wed, 09 Mar 2005 20:20:52 -0600
Newsgroups gmane.comp.mozilla.devel.small-devices
Organization Another Netscape Collabra Server User
Message-ID <[email protected]>
Doug Turner wrote:
> John Wolfe posted some great build instructions:
> 
> http://www.mozilla.org/projects/minimo/WinCE/build.html
> 
> Feel free to give them a spin.  Patches alway welcome
> 
> Regards,
> Doug Turner

I got most of the way through setup before I really ran into anything 
but a couple of build warnings during the shunt.dll building.  But I ran 
into a problem where when I run the step that says, "bash 
/cygdrive/c/builds/remake_configure_files" I get errors because it can't 
find 'autoconf'.  I went to cygwin and got autoconf, autoconf-devel and 
autoconf-stable.  So I got around that problem.

But now I run into the same problem that stopped me last week:
Adding client.mk options from 
/cygdrive/f/builds/wince_port/wince/mozilla/.mozconfig:
     MOZ_CO_PROJECT=suite
     MOZ_OBJDIR=$(TOPSRCDIR)/../test-arm-build
     WINCE=1
     MINIMO=1
cd /cygdrive/f/builds/wince_port/wince/mozilla/../test-arm-build
/cygdrive/f/builds/wince_port/wince/mozilla/configure
Adding configure options from 
/cygdrive/f/builds/wince_port/wince/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
creating cache ./config.cache
checking host system type... i586-pc-msvc
checking target system type... arm-unknown-wince
checking build system type... i586-pc-msvc
cross compiling from i586-pc-msvc to arm-unknown-wince
checking for host c compiler... checking for gcc... no
checking for cc... no
checking for /usr/ucb/cc... no
checking for cl... cl
cl
checking for host c++ compiler... checking for c++... no
checking for g++... no
checking for gcc... no
checking for CC... no
checking for cxx... no
checking for cc++... no
checking for cl... cl
cl
checking for ranlib... no
checking for ar... no
checking whether the host c compiler (cl  ) works... yes
checking whether the host c++ compiler (cl  ) 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/f/builds/wince_port/wince/mozilla/../test-arm-build/Makefile] 
Error 1

This isn't supposed to happen, right?  Did anybody else get around this? 
  I couldn't find a config.log to look at, either.

Any help appreciated,
--Aaron