views:

252

answers:

1

I want to add a couple of logging options to GNU make so I can see what is happening when building FireFox and friends.

I have the make-3.80 sources and a complete working Cygwin build environment. Starting with ./configure and the Make I get a working executable as expected.

Question: What configuration is required so the executable in an identical manner to the make.exe bundled in Moztools?

Background:

If HAVE_CYGWIN_SHELL is not defined then with

#define HAVE_CYGWIN_SHELL 1

Make barfs as soon as it hits this section of the Mozilla configure script

CWD := $(shell pwd)
ifneq (1,$(words $(CWD)))
$(error The mozilla directory cannot be located in a path with spaces.)
endif

Thanks

+2  A: 

Use make -n and/or make -d? Put logging stuff into the makefile? Modifying make itself should be an option of last resort.

Looking at https://developer.mozilla.org/en/Windows_Build_Prerequisites, it seems mozilla has moved away from cygwin. What versions of mozilla products are you trying to build?

(Note that Visual C can be downloaded for free; look for the "Express Edition".)

ysth
G Forty