Cant build debug bits - FireFox - Win32

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Cant build debug bits - FireFox - Win32

dfrazzitta
I can build release OK with the folowing mozconfig file - however, when
I try to add
ac-add_options  -- enable-debug the build fails with link errors - can
someone suggest the fix ?

#######################################
. $topsrcdir/browser/config/mozconfig

export BUILD_OFFICIAL=1
export MOZILLA_OFFICIAL=1
mk_add_options BUILD_OFFICIAL=1
mk_add_options MOZILLA_OFFICIAL=1

ac_add_options --disable-shared
ac_add_options --enable-static

ac_add_options --disable-activex
ac_add_options --disable-activex-scripting
#######################################

_______________________________________________
dev-builds mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-builds
Reply | Threaded
Open this post in threaded view
|

Re: Cant build debug bits - FireFox - Win32

Callum Prentice
was that a typo in your question or are you using "ac-add_options  --
enable-debug" ?

if so, that's the problem - it should be "ac_add_options --disable-debug"



> I can build release OK with the folowing mozconfig file - however, when
> I try to add
> ac-add_options  -- enable-debug the build fails with link errors - can
> someone suggest the fix ?
>
> #######################################
> . $topsrcdir/browser/config/mozconfig
>
> export BUILD_OFFICIAL=1
> export MOZILLA_OFFICIAL=1
> mk_add_options BUILD_OFFICIAL=1
> mk_add_options MOZILLA_OFFICIAL=1
>
> ac_add_options --disable-shared
> ac_add_options --enable-static
>
> ac_add_options --disable-activex
> ac_add_options --disable-activex-scripting
> #######################################
>
_______________________________________________
dev-builds mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-builds
Reply | Threaded
Open this post in threaded view
|

Re: Cant build debug bits - FireFox - Win32

Callum Prentice
 > if so, that's the problem - it should be "ac_add_options --disable-debug"

hit 'send' too quickly - i mean:

ac_add_options --enable-debug
_______________________________________________
dev-builds mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-builds
Reply | Threaded
Open this post in threaded view
|

Re: Cant build debug bits - FireFox - Win32

Christian Biesinger
In reply to this post by dfrazzitta
[hidden email] wrote:
> ac-add_options  -- enable-debug the build fails with link errors - can
> someone suggest the fix ?

What are the link errors? But maybe what you need is --disable-optimize.
_______________________________________________
dev-builds mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-builds
Reply | Threaded
Open this post in threaded view
|

Re: Cant build debug bits - FireFox - Win32

dfrazzitta
the following mozconfig file does correctly build and produce a exe
that seems to work well.  this creates a EXE that is ~ 7 Meg in size
and no PDB files.  I deperately need to create a debug build with
PDB(s) associated with FireFox to debug with WinDBG.
When I make the following modifications to the mozconfig file (I will
make the mods with a prepended ^) the build fails with the following
message:

No Rule to make target nspr4.pdb needed by 'export' Error 2.

I feel rather good about this error as it clearly is trying to make a
PDB for debugging.  Any suggestions ??


#######################################
. $topsrcdir/browser/config/mozconfig
export BUILD_OFFICIAL=1
export MOZILLA_OFFICIAL=1
mk_add_options BUILD_OFFICIAL=1
mk_add_options MOZILLA_OFFICIAL=1
^ac_add_options --disable-optimize -- MODIFIED FROM ORIGIONAL FOR DEBUG
BUILD
^ac_add_options --enable-debug -- MODIFIED FROM ORIGIONAL FOR DEBUG
BUILD
ac_add_options --disable-shared
ac_add_options --enable-static
ac_add_options --disable-activex
ac_add_options --disable-activex-scripting
#######################################

_______________________________________________
dev-builds mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-builds