From bb0753d094046e96bb2c56cf4a2658465eadb133 Mon Sep 17 00:00:00 2001 From: KUNAL KUMAR Date: Fri, 10 Jan 2025 23:26:29 +0530 Subject: [PATCH 1/2] doc: update gcc-version for ubuntu-lts --- BUILDING.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/BUILDING.md b/BUILDING.md index eab25373225045..656c3b28b363ea 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++ 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 ``` From ad3647ea4a547ce5ac302aea92afa3bcb6a5ae1a Mon Sep 17 00:00:00 2001 From: Kunal Kumar Date: Sat, 11 Jan 2025 23:23:23 +0530 Subject: [PATCH 2/2] Update BUILDING.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Michaƫl Zasso --- BUILDING.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BUILDING.md b/BUILDING.md index 656c3b28b363ea..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++ gcc-12 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`