質問編集履歴
1
gcc --version と sudo apt show gcc の結果の追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -54,3 +54,47 @@
|
|
54
54
|
make[1]: *** [scripts/kconfig/Makefile:48: menuconfig] Error 1
|
55
55
|
make: *** [Makefile:616: menuconfig] Error 2
|
56
56
|
```
|
57
|
+
|
58
|
+
追記
|
59
|
+
|
60
|
+
gcc --version の出力
|
61
|
+
|
62
|
+
```WSL2(Ubuntu20.04)
|
63
|
+
gcc --version
|
64
|
+
|
65
|
+
gcc (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0
|
66
|
+
Copyright (C) 2019 Free Software Foundation, Inc.
|
67
|
+
This is free software; see the source for copying conditions. There is NO
|
68
|
+
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
69
|
+
```
|
70
|
+
|
71
|
+
sudo apt show gcc の出力
|
72
|
+
|
73
|
+
```WSL2(Ubuntu20.04)
|
74
|
+
sudo apt show gcc
|
75
|
+
|
76
|
+
Package: gcc
|
77
|
+
Version: 4:9.3.0-1ubuntu2
|
78
|
+
Priority: optional
|
79
|
+
Build-Essential: yes
|
80
|
+
Section: devel
|
81
|
+
Source: gcc-defaults (1.185.1ubuntu2)
|
82
|
+
Origin: Ubuntu
|
83
|
+
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
|
84
|
+
Original-Maintainer: Debian GCC Maintainers <debian-gcc@lists.debian.org>
|
85
|
+
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
|
86
|
+
Installed-Size: 51.2 kB
|
87
|
+
Provides: c-compiler, gcc-x86-64-linux-gnu (= 4:9.3.0-1ubuntu2)
|
88
|
+
Depends: cpp (= 4:9.3.0-1ubuntu2), gcc-9 (>= 9.3.0-3~)
|
89
|
+
Recommends: libc6-dev | libc-dev
|
90
|
+
Suggests: gcc-multilib, make, manpages-dev, autoconf, automake, libtool, flex, bison, gdb, gcc-doc
|
91
|
+
Conflicts: gcc-doc (<< 1:2.95.3)
|
92
|
+
Task: ubuntustudio-video, ubuntu-mate-core, ubuntu-mate-desktop
|
93
|
+
Download-Size: 5208 B
|
94
|
+
APT-Manual-Installed: no
|
95
|
+
APT-Sources: http://archive.ubuntu.com/ubuntu focal/main amd64 Packages
|
96
|
+
Description: GNU C compiler
|
97
|
+
This is the GNU C compiler, a fairly portable optimizing compiler for C.
|
98
|
+
.
|
99
|
+
This is a dependency package providing the default GNU C compiler.
|
100
|
+
```
|