Unfortunately the build system does not recognize changes to .mozconfig files as a dependency change, so it won't pick them up. In order to make sure your new mozconfig file is really in effect, do a ./mach clobber to delete your object directory before running ./mach build again.

Cheers,
Ehsan

On 2014-05-09, 8:26 AM, Dragomir Goranov wrote:
Hello,

I have just downloaded the source code for Release 29. I managed to compile the 
project under Windows 7 by using this command:
./mach build

I also managed to make a Visual Studio 2010 project and I can start to debug the file 
"firefox.exe".

So far so good.
However, I noticed that the exe is compiled with optimizations. I want to compile the exe 
in a Debug version without optimizations. My ".mozconfig" file contains the 
following lines:


ac_add_options --enable-application=browser
ac_add_options --disable-optimize
ac_add_options --enable-debug

ac_add_options --disable-tests

mk_add_options MOZ_CO_PROJECT=browser


I once again executed the command: "./mach build" to generate a new exe. All 
was fine, but the exe still does not contain debugging information.


1. Is my ".mozconfig" file correct, or I need to add some other options as well?
2. How can I force-rebuild the project to generate a new exe without 
optimizations?
_______________________________________________
dev-builds mailing list
dev-builds@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-builds


_______________________________________________
dev-builds mailing list
dev-builds@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-builds

Reply via email to