From: Angus Gratton Date: Thu, 2 Mar 2017 05:07:28 +0000 (+1100) Subject: docs/*-setup: Use --enable-local instead of --prefix=$PWD for ct-ng X-Git-Tag: v2.0-rc2~12 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2b2dd845ae44d2c90af12a58ed66b9e17b5e1e51;p=esp-idf docs/*-setup: Use --enable-local instead of --prefix=$PWD for ct-ng --- diff --git a/docs/linux-setup.rst b/docs/linux-setup.rst index 50c1609a31..d3b8597cd4 100644 --- a/docs/linux-setup.rst +++ b/docs/linux-setup.rst @@ -77,14 +77,16 @@ If you can't think of a reason why you need to build it yourself, then probably In any case, here are the steps to compile the toolchain yourself. +(Note: You will also need the prerequisite packages mentioned in step 0, above.) + - Install dependencies: - - Ubuntu:: + - Ubuntu pre-16.04:: sudo apt-get install gawk gperf grep gettext libncurses-dev python python-dev automake bison flex texinfo help2man libtool - Ubuntu 16.04:: - + sudo apt-get install gawk gperf grep gettext python python-dev automake bison flex texinfo help2man libtool libtool-bin - Debian:: @@ -100,7 +102,7 @@ Download ``crosstool-NG`` and build it:: cd ~/esp git clone -b xtensa-1.22.x https://github.com/espressif/crosstool-NG.git cd crosstool-NG - ./bootstrap && ./configure --prefix=$PWD && make install + ./bootstrap && ./configure --enable-local && make install Build the toolchain:: diff --git a/docs/macos-setup.rst b/docs/macos-setup.rst index eeed9e4e26..e8f8257b28 100644 --- a/docs/macos-setup.rst +++ b/docs/macos-setup.rst @@ -89,7 +89,7 @@ Download ``crosstool-NG`` and build it:: cd ~/esp git clone -b xtensa-1.22.x https://github.com/espressif/crosstool-NG.git cd crosstool-NG - ./bootstrap && ./configure --prefix=$PWD && make install + ./bootstrap && ./configure --enable-local && make install Build the toolchain::