building a Cygwin version of GNU make

拜拜、爱过 提交于 2019-12-07 16:29:28

问题


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


回答1:


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".)



来源:https://stackoverflow.com/questions/1085018/building-a-cygwin-version-of-gnu-make

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!