Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Building Firefox 3 b1

7 views
Skip to first unread message

Mac

unread,
Mar 11, 2008, 5:26:28 PM3/11/08
to
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.

Ben Hearsum

unread,
Mar 11, 2008, 5:44:10 PM3/11/08
to Mac

It looks like you're trying to build Firefox 2.0.0.6. On the 1.8 branch
(Firefox 2) VC8 is not a supported compiler. You should be using VC6 or
VC7.1. You should be able to get one of these as part of Visual Studio
2003 Express Edition (which is still available from Microsoft last time
I checked).

- Ben

Mac

unread,
Mar 12, 2008, 3:15:38 AM3/12/08
to
LOL oh yeah you re right !!!! I just made a mistake and showed you the
error log with the 2.0.0.6 sources (and indeed VC++ 2005 express
doesn't work fot this release). But I tried with the FF3b1 sources,
and it s exactly the same error : the compiler seems not to be
supported (although they say it is on mozilla dev). what's the
problem?
PS: thank you Ben for answering me,I am gonna try with VC 2003 express
in between, but if anybody knows how to compile FF3b1 with VC 2005
express, please tell me.
Mac
0 new messages