0

I have a C project with a Makefile, I want to build it on windows. I downloaded GNU Make installed. And I have VS2010. The make file has UNIX commands like cc, nvcc and g++. I have to replace them with MS C, CUDA and C++ compilers right? What are the command line commands I have to replace them with? Is there anything I need to install? I want to do it without Cygwin (it's installation is taking forever), otherwise Cygwin is the fallback method.

4

1 回答 1

0

您实际上不必用 Windows 变体替换任何这些命令。一个工作的编译器仍然可以很好地编译源代码,即使它不是操作系统的事实上的编译器。

我在 Cygwin 上听到了你的声音——你可以使用MinGW安装一个 Minimal GNU 环境,这将为你提供使用Unix makefile 所需的一切。

于 2013-07-15T02:08:43.863 回答