mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-09 07:34:32 +02:00
linux docs: Add note about precompiled gdb on Arch
Closes github #150: https://github.com/espressif/esp-idf/issues/150
This commit is contained in:
@@ -17,7 +17,6 @@ To compile with ESP-IDF you need to get the following packages:
|
|||||||
|
|
||||||
sudo pacman -S --needed gcc git make ncurses flex bison gperf python2-pyserial
|
sudo pacman -S --needed gcc git make ncurses flex bison gperf python2-pyserial
|
||||||
|
|
||||||
|
|
||||||
Step 1: Download binary toolchain for the ESP32
|
Step 1: Download binary toolchain for the ESP32
|
||||||
==================================================
|
==================================================
|
||||||
|
|
||||||
@@ -49,6 +48,16 @@ Alternatively, you may create an alias for the above command. This way you can g
|
|||||||
|
|
||||||
Then when you need the toolchain you can type ``get_esp32`` on the command line and the toolchain will be added to your ``PATH``.
|
Then when you need the toolchain you can type ``get_esp32`` on the command line and the toolchain will be added to your ``PATH``.
|
||||||
|
|
||||||
|
Arch Linux Users
|
||||||
|
----------------
|
||||||
|
|
||||||
|
To run the precompiled gdb (xtensa-esp32-elf-gdb) in Arch Linux requires ncurses 5, but Arch uses ncurses 6. Backwards compatibility libraries are available in AUR_ for native and lib32 configurations:
|
||||||
|
- https://aur.archlinux.org/packages/ncurses5-compat-libs/
|
||||||
|
- https://aur.archlinux.org/packages/lib32-ncurses5-compat-libs/
|
||||||
|
|
||||||
|
(Alternatively, use crosstool-NG to compile a gdb that links against ncurses 6.)
|
||||||
|
|
||||||
|
|
||||||
Alternative Step 1: Compile the toolchain from source using crosstool-NG
|
Alternative Step 1: Compile the toolchain from source using crosstool-NG
|
||||||
========================================================================
|
========================================================================
|
||||||
|
|
||||||
@@ -156,3 +165,4 @@ Further reading
|
|||||||
|
|
||||||
If you'd like to use the Eclipse IDE instead of running ``make``, check out the Eclipse setup guide in this directory.
|
If you'd like to use the Eclipse IDE instead of running ``make``, check out the Eclipse setup guide in this directory.
|
||||||
|
|
||||||
|
.. _AUR: https://wiki.archlinux.org/index.php/Arch_User_Repository
|
||||||
|
Reference in New Issue
Block a user