質問編集履歴
1
追記
title
CHANGED
File without changes
|
body
CHANGED
@@ -30,4 +30,31 @@
|
|
30
30
|
|
31
31
|
```
|
32
32
|
|
33
|
-
もし対処法をご存知の方がいらっしゃったらご教示お願い致します。
|
33
|
+
もし対処法をご存知の方がいらっしゃったらご教示お願い致します。
|
34
|
+
|
35
|
+
|
36
|
+
|
37
|
+
追記
|
38
|
+
```
|
39
|
+
$ brew reinstall gcc
|
40
|
+
```
|
41
|
+
をタイプしたところ
|
42
|
+
gccのpathが変わってしまったようです。
|
43
|
+
```
|
44
|
+
$ gcc -v
|
45
|
+
-bash: /usr/local/bin/gcc: No such file or directory
|
46
|
+
```
|
47
|
+
```
|
48
|
+
$ which gcc
|
49
|
+
/usr/bin/gcc
|
50
|
+
```
|
51
|
+
|
52
|
+
```
|
53
|
+
$ /usr/bin/gcc -v
|
54
|
+
|
55
|
+
Configured with: --prefix=/Library/Developer/CommandLineTools/usr --with-gxx-include-dir=/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/4.2.1
|
56
|
+
Apple clang version 12.0.0 (clang-1200.0.32.28)
|
57
|
+
Target: x86_64-apple-darwin20.1.0
|
58
|
+
Thread model: posix
|
59
|
+
InstalledDir: /Library/Developer/CommandLineTools/usr/bin
|
60
|
+
```
|