From eb731030a41b7a993c52854c399072e7bfc5e1fd Mon Sep 17 00:00:00 2001
From: Angus Gratton <angus@espressif.com>
Date: Wed, 11 Apr 2018 10:19:24 +1000
Subject: [PATCH] doc: Add gcc to list of ESP-IDF prerequisite packages

Closes https://github.com/espressif/esp-idf/issues/1842#issuecomment-380274150
---
 docs/en/get-started/linux-setup.rst    | 4 ++--
 docs/zh_CN/get-started/linux-setup.rst | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/docs/en/get-started/linux-setup.rst b/docs/en/get-started/linux-setup.rst
index 17d49c93b6..8004c37ee7 100644
--- a/docs/en/get-started/linux-setup.rst
+++ b/docs/en/get-started/linux-setup.rst
@@ -10,11 +10,11 @@ To compile with ESP-IDF you need to get the following packages:
 
 - CentOS 7::
 
-    sudo yum install git wget make ncurses-devel flex bison gperf python pyserial
+    sudo yum install gcc git wget make ncurses-devel flex bison gperf python pyserial
 
 - Ubuntu and Debian::
 
-    sudo apt-get install git wget make libncurses-dev flex bison gperf python python-serial
+    sudo apt-get install gcc git wget make libncurses-dev flex bison gperf python python-serial
 
 - Arch::
 
diff --git a/docs/zh_CN/get-started/linux-setup.rst b/docs/zh_CN/get-started/linux-setup.rst
index bf0a095461..a4dc1d943c 100644
--- a/docs/zh_CN/get-started/linux-setup.rst
+++ b/docs/zh_CN/get-started/linux-setup.rst
@@ -9,11 +9,11 @@ Linux 平台工具链的标准设置
 
 - CentOS 7::
 
-    sudo yum install git wget make ncurses-devel flex bison gperf python pyserial
+    sudo yum install gcc git wget make ncurses-devel flex bison gperf python pyserial
 
 - Ubuntu and Debian::
 
-    sudo apt-get install git wget make libncurses-dev flex bison gperf python python-serial
+    sudo apt-get install gcc git wget make libncurses-dev flex bison gperf python python-serial
 
 - Arch::
 
-- 
2.40.0