LoginSignup
0
0

More than 5 years have passed since last update.

error trying to exec 'cc1': execvp: No such file or directory

Posted at

はじめに

以下のような現象に遭遇した。

$ aarch64-linux-musl-gcc test.c
aarch64-linux-musl-gcc: error trying to exec 'cc1': execvp: No such file or directory

which aarch64-linux-musl-gccしても反応なし。

解決方法

echo $PATHするとこうなっていた

$ echo $PATH
~/...:~/...:/usr/bin....

この~を具体的なパス(/home/lesmiなど)にすると治った。
これは難しい。

結論

~はコマンドだけに使え

0
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
0
0