Gcc 为osx编译mingw

Gcc 为osx编译mingw,gcc,mingw,mingw32,mingw-w64,Gcc,Mingw,Mingw32,Mingw W64,按照这些步骤,就可以成功安装mingw32 我正试图用brew提供的gcc48再次实现这一点brew安装gcc48——将所有语言作为brew公式 似乎gcc核心需要使用mingw32头进行编译。以下是错误输出: checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for

按照这些步骤,就可以成功安装mingw32

我正试图用brew提供的gcc48再次实现这一点
brew安装gcc48——将所有语言作为brew公式

似乎gcc核心需要使用mingw32头进行编译。以下是错误输出:

checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking _mingw_mac.h usability... no
checking _mingw_mac.h presence... no
checking for _mingw_mac.h... no
configure: error: Please check if the mingw-w64 header set and the build/host option are set properly.
代码如下: