library isn't found in the GCC version (4.2.1) in Mavericks

后端 未结 4 1266
小鲜肉
小鲜肉 2020-12-15 17:46

I have a problem with GCC. I want to update it to a new version, from the 4.2.1, to program with parallel programming. However, in this version there is no library . How ca

4条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-12-15 18:21

    I got this message when I tried to reinstall GCC via Homebrew.

    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

    So, if you have Homebrew installed, you could try (on the terminal):

    brew reinstall gcc --without-multilib
    

    This process may take a while !

提交回复
热议问题