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

problem: incremental build under Windows 7

25 views
Skip to first unread message

jeremy...@gmx.ch

unread,
Feb 16, 2013, 8:51:50 AM2/16/13
to
Hello together,

I followed the build instructions on MDN and succesfully built Firefox Nightly on Win7 (32bit) two days ago (sorry, but I don't know where to look up the version). I used "./mach build" out of "start-msvc10.bat" console with options

ac_add_options --disable-optimize
ac_add_options --enable-debug

in my .mozconfig file and it went through smoothly and now I have a directory "obj-i686-pc-mingw32" and can run Firefox Nightly. Now I'll have to change several files, for a starter let's say I changed

"C:\mozilla-source\mozilla-central\image\src\Image.cpp"

Following the description on "https://developer.mozilla.org/en-US/docs/Incremental_Build" I changed directory to

C:\mozilla-source\mozilla-central\obj-i686-pc-mingw32\image

and tried

$ make

and (from C:\mozilla-source\mozilla-central\obj-i686-pc-mingw32)

$ make -C image

In both cases I get the message "Windows style src dir being used with GNU make. Did you mean to run c:/mozilla-source/mozilla-center/build/pymake/make.py instead?"

Do you have any idea how I should proceed from here? Unfortunately I've no experience in building.

Thanks for your answers.

Jeremy


Benjamin Smedberg

unread,
Feb 16, 2013, 11:08:41 AM2/16/13
to jeremy...@gmx.ch, dev-b...@lists.mozilla.org
On 2/16/2013 8:51 AM, jeremy...@gmx.ch wrote:
>
> In both cases I get the message "Windows style src dir being used with GNU make. Did you mean to run c:/mozilla-source/mozilla-center/build/pymake/make.py instead?"
>
> Do you have any idea how I should proceed from here? Unfortunately I've no experience in building.
The error message is correct. We don't use 'make' on Windows, we use
pymake (the make.py in your message). Use that every time you see `make`
in instructions.

--BD

jeremy...@gmx.ch

unread,
Feb 18, 2013, 11:08:50 AM2/18/13
to jeremy...@gmx.ch, dev-b...@lists.mozilla.org
Hi Benjamin,

thank you, it's working now :-)

Ted Mielczarek

unread,
Feb 18, 2013, 1:28:56 PM2/18/13
to dev-b...@lists.mozilla.org
On 2/16/2013 11:08 AM, Benjamin Smedberg wrote:
> On 2/16/2013 8:51 AM, jeremy...@gmx.ch wrote:
>>
>> In both cases I get the message "Windows style src dir being used
>> with GNU make. Did you mean to run
>> c:/mozilla-source/mozilla-center/build/pymake/make.py instead?"
>>
>> Do you have any idea how I should proceed from here? Unfortunately
>> I've no experience in building.
> The error message is correct. We don't use 'make' on Windows, we use
> pymake (the make.py in your message). Use that every time you see
> `make` in instructions.

Note that you can also do "./mach build <path>" now to do the equivalent
of "make -C $objdir/path", so "./mach build image" in your case would work.

-Ted

0 new messages