欢迎光临散文网 会员登陆 & 注册

come with

2022-06-24 09:30 作者:凫水亿  | 我要投稿

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 that C:\mingw32\bin contains i686-w64-mingw32-gcc.exe 64-bit mingw-w64: eg C:\mingw64 so that C:\mingw64\bin contains x86_64-w64-mingw32-gcc.exe

  • open 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 or x86_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 下载站点上外部二进制包。


come with的评论 (共 条)

分享到微博请遵守国家法律