
Code: Select all
# Normal settings here
COMMON_FLAGS="-O2 -march=native"
CFLAGS="${COMMON_FLAGS}"
CXXFLAGS="${COMMON_FLAGS}"
CC="gcc-14"
CPP="g++-14" # necessary for xorg-server and possibly other packages
CXX="g++-14"Code: Select all
dev-libs/hyprgraphics compiler-gcc-14
gui-libs/hyprland-qtutils compiler-gcc-14
gui-wm/hyprland compiler-gcc-14
gui-libs/hyprutils compiler-gcc-14
gui-libs/aquamarine compiler-gcc-14
dev-cpp/tomlplusplus compiler-gcc-14
gui-apps/hypridle compiler-gcc-14
gui-apps/hyprlock compiler-gcc-14
gui-apps/hyprpaper compiler-gcc-14
gui-libs/hyprcursor compiler-gcc-14
dev-libs/hyprlang compiler-gcc-14
dev-libs/hyprland-protocols compiler-gcc-14
dev-util/hyprwayland-scanner compiler-gcc-14Code: Select all
$ git log -1 --pretty=%H' %ad'
64a22966158c5c78b0a350ca573ff7386b6d687c Tue Jan 28 17:10:37 2025 +0800
$ git grep KEYWORDS -- sys-devel/gcc/gcc-14.*
sys-devel/gcc/gcc-14.2.1_p20241221.ebuild:30: KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86"
Code: Select all
PATH="/usr/x86_64-pc-linux-gnu/gcc-bin/14:${PATH}"
CC="/usr/x86_64-pc-linux-gnu/gcc-bin/14/x86_64-pc-linux-gnu-gcc"
CXX="/usr/x86_64-pc-linux-gnu/gcc-bin/14/x86_64-pc-linux-gnu-g++"
AR="/usr/x86_64-pc-linux-gnu/gcc-bin/14/x86_64-pc-linux-gnu-gcc-ar"
NM="/usr/x86_64-pc-linux-gnu/gcc-bin/14/x86_64-pc-linux-gnu-gcc-nm"
RANLIB="/usr/x86_64-pc-linux-gnu/gcc-bin/14/x86_64-pc-linux-gnu-gcc-ranlib"You should really use workarounds wherever possible instead (like passing a particular flag as a workaround). You're free to ask me if you need help doing that.freke wrote:Testing/mainly using gcc15 I've been using this for my /etc/portage/env/gcc14 for those packages that didn't yet play nice with gcc15Can't remember where - but found that somewhere on the forums here.Code: Select all
PATH="/usr/x86_64-pc-linux-gnu/gcc-bin/14:${PATH}" CC="/usr/x86_64-pc-linux-gnu/gcc-bin/14/x86_64-pc-linux-gnu-gcc" CXX="/usr/x86_64-pc-linux-gnu/gcc-bin/14/x86_64-pc-linux-gnu-g++" AR="/usr/x86_64-pc-linux-gnu/gcc-bin/14/x86_64-pc-linux-gnu-gcc-ar" NM="/usr/x86_64-pc-linux-gnu/gcc-bin/14/x86_64-pc-linux-gnu-gcc-nm" RANLIB="/usr/x86_64-pc-linux-gnu/gcc-bin/14/x86_64-pc-linux-gnu-gcc-ranlib"
Thanks - I currently don't have any packages using my gcc14-env, thoughsam_ wrote:You should really use workarounds wherever possible instead (like passing a particular flag as a workaround). You're free to ask me if you need help doing that.freke wrote:Testing/mainly using gcc15 I've been using this for my /etc/portage/env/gcc14 for those packages that didn't yet play nice with gcc15Can't remember where - but found that somewhere on the forums here.Code: Select all
PATH="/usr/x86_64-pc-linux-gnu/gcc-bin/14:${PATH}" CC="/usr/x86_64-pc-linux-gnu/gcc-bin/14/x86_64-pc-linux-gnu-gcc" CXX="/usr/x86_64-pc-linux-gnu/gcc-bin/14/x86_64-pc-linux-gnu-g++" AR="/usr/x86_64-pc-linux-gnu/gcc-bin/14/x86_64-pc-linux-gnu-gcc-ar" NM="/usr/x86_64-pc-linux-gnu/gcc-bin/14/x86_64-pc-linux-gnu-gcc-nm" RANLIB="/usr/x86_64-pc-linux-gnu/gcc-bin/14/x86_64-pc-linux-gnu-gcc-ranlib"
Anyway, you don't need to do that -- you can do CC=x86_64-pc-linux-gnu-gcc-14 and so on instead.
Code: Select all
## c23-porting
=dev-perl/Bit-Vector-7.400.0-r3 porting
=net-mail/dovecot-2.3.21.1-r1 porting
=net-misc/iperf-3.17.1 porting
but gcc-13 instead.CC="gcc-14"
CPP="g++-14" # necessary for xorg-server and possibly other packages
CXX="g++-14"