Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个自动工具项目。一台机器上的相同 tarball 编译文件如下:
gcc ... File.cpp -o 项目-File.o
在另一台机器上:
gcc ... 文件.cpp -o 文件.o
有谁知道是什么导致了这种不同的行为?两台机器都安装了相同的 OS X 补丁,具有相同的工具版本。
根据GNU Automake 文档,观察到的行为是由配置期间设置的一些特定变量触发的。
您说两台计算机都使用相同的工具进行了相同的修补,但是它们的环境变量(PATH、编译标志等)呢?