构建一个Cygwin版本的GNU make [英] building a Cygwin version of GNU make

查看:381
本文介绍了构建一个Cygwin版本的GNU make的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想为GNU添加几个日志选项,所以我可以看到当构建FireFox和朋友时发生了什么。



我有make-3.80源码和一个完整的Cygwin构建环境。从./configure和Make开始,我得到一个正常的可执行文件。



问题:需要什么配置才能使可执行文件与Moztools中捆绑的make.exe完全相同?



背景:



如果 HAVE_CYGWIN_SHELL 未定义,则

  #define HAVE_CYGWIN_SHELL 1 

在访问Mozilla配置脚本的这一部分时立即创建barfs

  CWD:= $ shell pwd)
ifneq(1,$(words $(CWD)))
$(错误mozilla目录不能位于带空格的路径中。)
endif



感谢

解决方案

使用make -n和/或make -d?将日志文件放入makefile中?



查看 https://developer.mozilla.org/en/Windows_Build_Prerequisites ,似乎mozilla已经远离cygwin。您尝试建立哪些版本的mozilla产品?



(请注意,Visual C可免费下载;请查看Express Edition。)


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

解决方案

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

这篇关于构建一个Cygwin版本的GNU make的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆