构建 GNU make 的 Cygwin 版本
我想向 GNU make 添加几个日志选项,这样我就可以看到构建 FireFox 和朋友时发生的情况。
我有 make-3.80 源代码和完整的 Cygwin 构建环境。 从 ./configure 和 Make 开始,我按预期得到了一个工作可执行文件。
问题:需要什么配置才能使可执行文件以与 Moztools 中捆绑的 make.exe 相同的方式运行?
背景:
如果 HAVE_CYGWIN_SHELL
未定义,则 谢谢
#define HAVE_CYGWIN_SHELL 1
一旦到达 Mozilla 配置脚本的这一部分,就立即创建
CWD := $(shell pwd)
ifneq (1,$(words $(CWD)))
$(error The mozilla directory cannot be located in a path with spaces.)
endif
barfs
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
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
使用 make -n 和/或 make -d? 将日志内容放入 makefile 中? 修改 make 本身应该是最后的选择。
看看https://developer.mozilla.org/en/Windows_Build_Precessions,似乎mozilla已经离开了 cygwin。 您想要构建什么版本的 Mozilla 产品?
(请注意,Visual C 可以免费下载;查找“Express Edition”。)
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".)