2
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

【備忘録】I don't understand 'm' flag!

Last updated at Posted at 2018-11-12

gccは動くのにgcc-8はタイトルのようなエラーが出てしまい動かない、、、
ここに書いてある通り
export PATH=/usr/bin:/opt/local/bin:/opt/local/sbin:$PATH
をすると動くようになりました。参照しに行っているasフォルダが間違っているらしいのだけれどとりあえず動いているのでまた賢くなった時に上のgithubを読み返してみようと思います。

追記
普段Homebrewを使用しているのですがMacPorts関連のPATHを.zshrcに書いていたのが原因らしくそこを消したら普通に動きました。echo $PATHして/opt/local/binが先に来ていたのでそれが問題みたいです。

2
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?