docs/*-setup: Use --enable-local instead of --prefix=$PWD for ct-ng

This commit is contained in:
Angus Gratton 2017-03-02 16:07:28 +11:00
parent b9f9e681ba
commit 2b2dd845ae
2 changed files with 6 additions and 4 deletions

View file

@ -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::

View file

@ -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::