我试图使用 omh.h
头文件,但发现它丢失了。我尝试使用 brew 在我的 Mac 上重新安装 gcc。这是我在安装结束时收到的消息。
..
GCC has been built with multilib support. Notably, OpenMP may not work:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60670
If you need OpenMP support you may want to
brew reinstall gcc --without-multilib
==> Summary
/usr/local/Cellar/gcc/4.9.2_1: 1156 files, 203M
它建议如果我需要OpenMP支持,我需要安装brew reinstall gcc --without-multilib
。我无法理解--without-multilib
的含义,它与仅安装gcc有何不同?而且显然
brew reinstall gcc --without-multilib
运行时间很长,而brew uninstall gcc && brew install gcc
则非常快。
libgomp
无法以这种方式构建。 - Hristo Iliev