step1、install ndk-pkg
step2、update ndk-pkg-formula-repository
ndk-pkg update
step3、build and install crosstool-ng
ndk-pkg install crosstool-ng
ndk-pkg formula view crosstool-ng
{{ formula }}
if the formula of crosstool-ng dosn't meet your needs, you can edit it ⤵︎
ndk-pkg formula edit crosstool-ng
after editing, you may want to rebuild this package ⤵︎
ndk-pkg install crosstool-ng