come with
C:\mingw64 与……一起供给;伴随……发生;从……开始
例:
Installing the toolchain
Windows native
TDM-GCC comes with an easy installer, please use that.The other builds are quite straightforward to set up:
extract the toolchain to a directory: 32-bit mingw-w32: eg
C:\mingw32
so thatC:\mingw32\bin
contains i686-w64-mingw32-gcc.exe 64-bit mingw-w64: egC:\mingw64
so thatC:\mingw64\bin
contains x86_64-w64-mingw32-gcc.exeopen a cmd.exe and do
set PATH=C:\mingw64\bin;%PATH%
for 64-bit building.set PATH=C:\mingw32\bin;%PATH%
for 32-bit building.You should be ready to go. Execute
i686-w64-mingw32-gcc -v
orx86_86-w64-mingw32-gcc -v
to see that everything has gone well.(Autobuilds only) If you need mingw32-make, please download it from the mingw-w64 downloads site under External binary packages.
译:
安装工具链
原生windows
TDM-GCC提供了一个简易安装器,请使用它。其他构建工具设置很简单:
提取工具链到一个目录:
32-bit mingw-w32:例如:C:\mingw32,提取后在 C:\mingw32\bin 下包含 i686-w64-mingw32-gcc.exe 文件。64-bit mingw-w64:例如:
C:\mingw64
提取后,在C:\mingw64\bin
下包含 x86_64-w64-mingw32-gcc.exe 文件。打开 cmd.exe 然后输入 set PATH=C:\mingw64\bin;%PATH% 构建64-bit环境。set PATH=C:\mingw32\bin;%PATH% 构建32-bit环境。
然后执行
i686-w64-mingw32-gcc -v
或x86_86-w64-mingw32-gcc -v 查看一切是否正常
(自动构建—特定)如果你需要mingw32-make,请于 mingw-w64 下载站点上外部二进制包。