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 1789
鱼传尺愫
鱼传尺愫 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: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.

提交回复
热议问题