Re: Upgrading gcc
Charlie Gibbs <[email protected]> Tue, 04 Aug 2026 17:44:30 GMT
| Newsgroups | comp.os.linux.misc |
|---|---|
| Message-ID | <[email protected]> |
On 2026-08-03, jayjwa <[email protected]> wrote: > Charlie Gibbs <[email protected]> writes: > >> I'm currently helping a friend upgrade his copy of Darktable. >> The latest snag is that the build process wants GCC 12, while >> his machine, running Mint 21, only has GCC 11. After scanning >> the web for advice, I've tried to upgrade the compiler. At >> best I got to where typing "gcc --version" on the command line >> reports version 12, but Darktable's build.sh still managed to >> find (and reject) the old GCC 11. Any ideas, short of doing >> a dist-upgrade to Mint 22? > > The build system should ask which compiler to use. You can set it either > via envars (like CC), switches to the build system, or by editing the > build system files (like Makefile). If it's Cmake, there's a 'ccmake' > something something (read the manual for it). You could install, for > example, /opt/gcc-15/bin and then tell it /opt/gcc-15/bin/gcc for the > compiler. > > You might also try temporarily hiding your system compiler, but that's > kind of hacky. > > You sure this won't work? https://github.com/darktable-org/darktable/releases/download/release-5.6.0/Darktable-5.6.0-x86_64.AppImage No, my buddy has a camera that's new enough that the stock release can't handle its raw format. We've found and built a modified libraw.a that works, but we have to fold it into the sources and re-build it. -- /~\ Charlie Gibbs | In this world there are \ / <[email protected]> | two kinds of people: X I'm really at ac.dekanfrus | 1. Those who can extrapolate / \ if you read it the right way. | from incomplete data.