Hi,
I am currently trying to compile the Firefox 3 beta 1
sources ,following the steps as described there :
http://developer.mozilla.org/en/docs/Windows_Build_Prerequisites .
My configs are : Visual C++ 2005 Express Edition + Windows Platform
SDK for Windows Server 2003 R2 + MASM + MozillaBuild 1.2
and my .mozconfig is :
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/ff-opt-static
ac_add_options --enable-optimize
ac_add_options --disable-debug
ac_add_options --enable-static
ac_add_options --disable-shared
ac_add_options --disable-libxul
ac_add_options --disable-tests
first , is there a mistake here?
And second, when I run the start-msvc8.bat and try to compile the
client (
http://developer.mozilla.org/en/docs/Build_and_Install) I got
the following returns :
make[1]: Entering directory `/d/firefox-2.0.0.6-source/mozilla'
cd /d/firefox-2.0.0.6-source/mozilla/ff-opt-static
/d/firefox-2.0.0.6-source/mozilla/configure
Adding configure options from /c/Documents and Settings/
ProjetM1-2007/.mozconfig:
--enable-optimize
--disable-debug
--enable-static
--disable-shared
--disable-libxul
--disable-tests
loading cache ./config.cache
checking host system type... i686-pc-mingw32
checking target system type... i686-pc-mingw32
checking build system type... i686-pc-mingw32
checking for gawk... gawk
checking for nsinstall... /c/mozilla-build/moztools/bin/nsinstall
checking for gcc... cl
checking whether the C compiler (cl ) works... yes
checking whether the C compiler (cl ) is a cross-compiler... no
checking whether we are using GNU C... no
checking whether cl accepts -g... no
checking for c++... cl
checking whether the C++ compiler (cl ) works... yes
checking whether the C++ compiler (cl ) is a cross-compiler... no
checking whether we are using GNU C++... no
checking whether cl accepts -g... no.
checking for ranlib... :
checking for ml... /c/Program Files/Microsoft Visual Studio 8/VC/BIN/
ml
checking for ar... no
checking for ld... link
checking for strip... no
checking for windres... no
checking for midl... midl
configure: error: This version of the MSVC compiler, , is
unsupported.
*** Fix above errors and then restart with "make -f
client.mk build"
make[1]: *** [configure] Error 1
make[1]: Leaving directory `/d/firefox-2.0.0.6-source/mozilla'
make: *** [/d/firefox-2.0.0.6-source/mozilla/ff-opt-static/Makefile]
Error 2
A priori the error occurs because my compiler is not a cross-
compiler!!! But is it really that? And if yes, how do I make it a
cross-compiler????
I really need to do this for a project , so please if you got a lil'
somethin' , tell me.
Thanks in advance.