Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 3552

C/C++ • Re: Gcc compilers confusion

$
0
0
Hello everyone i have an rpi 5
with rp Os installed

which gcc package or packages should i install?

thanks everyone

Don't all variants of RasPiOS Bookworm come with a gcc compiler bundled by default?

Perhaps you don't need to install anything?

grepping gcc

"gcc-12-base/stable,now 12.2.0-14 arm64 [installed]
gcc-12-base/stable,now 12.2.0-14 armhf [installed,automatic]
gcc-12/stable,now 12.2.0-14 arm64 [installed,automatic]
gcc/stable,now 4:12.2.0-3 arm64 [installed,automatic]
libgcc-12-dev/stable,now 12.2.0-14 arm64 [installed,automatic]
libgcc-s1/stable,now 12.2.0-14 arm64 [installed]
libgcc-s1/stable,now 12.2.0-14 armhf [installed,automatic]
libuno-cppuhelpergcc3-3/stable,stable-security,now 4:7.4.7-1+deb12u1 arm64 [installed,automatic]
libuno-purpenvhelpergcc3-3/stable,stable-security,now 4:7.4.7-1+deb12u1 arm64 [installed,automatic]
libuno-salhelpergcc3-3/stable,stable-security,now 4:7.4.7-1+deb12u1 arm64 [installed,automatic] "

grepping arm64

"binutils-aarch64-linux-gnu/stable,now 2.40-2 arm64 [installed,automatic]"

thats all
It looks like gcc version 12 is already installed on your Pi. The main other gcc related package I usually install is libgomp (maybe it's actually called libgomp1) which provides the OpenMP parallel programming extensions.

Statistics: Posted by ejolson — Sun Feb 11, 2024 11:00 am



Viewing all articles
Browse latest Browse all 3552

Trending Articles