GNU MAKE “进入目录...”的路径设置在哪里?
执行 make.exe 时,由于驱动器盘符区分大小写,我的代码失败。
目前,我的 make 打印出:
make.exe[3]: Entering directory 'C:/...'
(fails)。
在另一台计算机上,使用相同的源,我得到:
make.exe[3]: Entering directory 'c:/...'
(有效)。
我猜测这与驱动器盘符的大小写敏感有关(因为 gnu make)。
我想知道驱动器号设置在哪里?它在路径的某个地方吗?
When executing make.exe, my code fails because of case sensitivity of the drive letter.
Currently, my make prints out:
make.exe[3]: Entering directory 'C:/...'
(fails).
On another computer, with the same source I get:
make.exe[3]: Entering directory 'c:/...'
(works).
I am guessing it has to do with the case sensitivity of the drive letter (because of gnu make).
I was wondering where is the drive letter set? Is it somewhere in the path?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我不太确定你所说的驱动器盘符已设置是什么意思。它并没有真正设置在任何地方。
您可能想尝试运行:
告诉 make 在处理 Makefile 之前更改到特定目录。
I'm not quite sure what you mean by were the drive letter is set. It's not really set anywhere.
You might like to try running:
to tell make to change to a particular directory before processing the Makefile.