While installing on OSX Sierra via gcc-6, keep having “FATAL:/opt/local/bin/../libexec/as/x86_64/as: I don't understand 'm' flag!” error

前端 未结 2 1794
鱼传尺愫
鱼传尺愫 2021-01-12 22:39

Environment info

Operating System: macOS 10.12.2 (16C68)

Compiler: gcc-6

Steps to reproduce

I\'ve installed gcc-6 and modified config.mk

相关标签:
2条回答
  • 2021-01-12 23:11

    I solved by uninstalling MacPorts:

    sudo port -f uninstall installed
    
    0 讨论(0)
  • 2021-01-12 23:13

    I had this issue when using macports-installed gnu assembler. You could try forcing the use of as that comes with Xcode, or simply temporarily removing /opt/local/bin from your path.

    0 讨论(0)
提交回复
热议问题