Skip to content

Instantly share code, notes, and snippets.

@mrenouf
Last active March 30, 2022 17:30
Show Gist options
  • Save mrenouf/e62381e6f82c71a21e480ea2a9c9011b to your computer and use it in GitHub Desktop.
Save mrenouf/e62381e6f82c71a21e480ea2a9c9011b to your computer and use it in GitHub Desktop.
sudo apt install build-essential autoconf bison flex texinfo \
help2man gawk libtool libncurses5-dev python3-dev \
python3-distutils git
git clone http://github.com/crosstool-ng/crosstool-ng
cd crosstool-ng
./bootstrap
./configure --enable-local
DEFCONFIG=samples/armv8-rpi3-linux-gnueabihf/crosstool.config ./ct-ng defconfig
./ct-ng build
@jdai
Copy link

jdai commented Mar 30, 2022

~/esp/crosstool-ng$ DEFCONFIG=samples/armv8-rpi3-linux-gnueabihf/crosstool.config ./ct-ng defconfig
bash: ./ct-ng: No such file or directory

~/esp/crosstool-ng$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.6 LTS
Release: 18.04
Codename: bionic

Mrenouf: I tried three ways to install esp32 dev env, all failed. forgot 1st, 2nd-3rd try are both show "ct-ng" not found, above log are follow your instruction, previous follows here: https://gitdemo.readthedocs.io/en/latest/linux-setup.html
Please help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment