From 4c2739348dcd1eaf5ae5e24bded9da059b7fa9dd Mon Sep 17 00:00:00 2001 From: Kunal Kumar Date: Sun, 12 Jan 2025 23:39:50 +0530 Subject: [PATCH] doc: update gcc-version for ubuntu-lts MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR-URL: https://github.com/nodejs/node/pull/56553 Reviewed-By: Yagiz Nizipli Reviewed-By: Michaël Zasso Reviewed-By: Ulises Gascón --- BUILDING.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/BUILDING.md b/BUILDING.md index eab25373225045..c112104459dd13 100644 --- a/BUILDING.md +++ b/BUILDING.md @@ -241,7 +241,7 @@ Consult previous versions of this document for older versions of Node.js: Installation via Linux package manager can be achieved with: -* Ubuntu, Debian: `sudo apt-get install python3 g++ make python3-pip` +* Ubuntu, Debian: `sudo apt-get install python3 g++-12 gcc-12 make python3-pip` * Fedora: `sudo dnf install python3 gcc-c++ make python3-pip` * CentOS and RHEL: `sudo yum install python3 gcc-c++ make python3-pip` * OpenSUSE: `sudo zypper install python3 gcc-c++ make python3-pip` @@ -269,6 +269,7 @@ fail. To build Node.js: ```bash +export CXX=g++-12 ./configure make -j4 ```