> For the complete documentation index, see [llms.txt](https://termux-wiki.zsxwz.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://termux-wiki.zsxwz.com/gcc.md).

# gcc

1. 修改软件源：

```
vim $PREFIX/etc/apt/sources.list

#添加
deb https://its-pointless.github.io/files/24 termux extras
```

2\. 安装：

```
wget https://its-pointless.github.io/pointless.gpg
apt-get install gnupg
apt-key add pointless.gpg
apt-get update

apt-get install gcc-12
```
