Re: Minimo WinCE Detailed Build Instructions

Aaron Reed <[email protected]> Wed, 09 Mar 2005 20:29:33 -0600
Newsgroups gmane.comp.mozilla.devel.small-devices
Organization Another Netscape Collabra Server User
Message-ID <[email protected]>
Found my config.log under ..\test-arm-build:

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

configure:908: checking host system type
configure:929: checking target system type
configure:947: checking build system type
configure:1075: checking for host c compiler
configure:1081: checking for gcc
configure:1081: checking for cc
configure:1081: checking for /usr/ucb/cc
configure:1081: checking for cl
configure:1116: checking for host c++ compiler
configure:1122: checking for c++
configure:1122: checking for g++
configure:1122: checking for gcc
configure:1122: checking for CC
configure:1122: checking for cxx
configure:1122: checking for cc++
configure:1122: checking for cl
configure:1171: checking for ranlib
configure:1206: checking for ar
configure:1241: checking whether the host c compiler (cl  ) works
configure:1250: cl -c   conftest.c 1>&5
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 12.00.8804 for 80x86
Copyright (C) Microsoft Corp 1984-1998. All rights reserved.

conftest.c
configure:1265: checking whether the host c++ compiler (cl  ) works
configure:1274: cl -c   conftest.c 1>&5
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 12.00.8804 for 80x86
Copyright (C) Microsoft Corp 1984-1998. All rights reserved.

conftest.c
configure:1294: checking for arm-wince-gcc
configure:1328: checking for gcc
configure:1441: checking whether the C compiler (arm-wince-gcc  ) works
configure:1457: arm-wince-gcc -o conftest    conftest.c  1>&5
-----------------> 2 <----------------------



configure: failed program was:

#line 1452 "configure"
#include "confdefs.h"

main(){return(0);}





Aaron Reed wrote:

> 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