Termux repository with cctools packages (gcc with fortran support etc)

From CCTools
Revision as of 07:17, 31 August 2020 by Sashz (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

CCTools packages for termux

Current gcc version: 10.2.0

Current binutils version: 2.34

Add cctools packages public key:

wget -O - https://cctools.info/public.key | apt-key add -

Create new repository list:

echo "deb https://cctools.info termux cctools" > $PREFIX/etc/apt/sources.list.d/cctools.list

Update packages lists:

apt update

Install package gcc-cctools:

apt install gcc-cctools

Install NDK package for your android architecture, use latest one, for example for aarch64:

apt install ndk-sysroot-cctools-api-24-aarch64

Add directory with new compilers to PATH:

export PATH=$PREFIX/../cctools-toolchain/bin:$PATH

Check it:

gcc -v

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox