ArmbianHelper changed the topic of #armbian to: armbian - Linux for ARM development boards | www.armbian.com | Github: github.com/armbian | Commits: #armbian-commits | Developer talk: #armbian-devel | Forum/Twitter feed: #armbian-rss | Logs: -> irc.armbian.com
<cornelius>
i tend to use the compilers available to me from the distro, which is why I use Jammy a lot. It has gcc 9 thru 12 available.
<steev>
Yeah, I tend to go with the distro compilers as well, unless there’s a real need for my own (usually riscv stuff)
<cornelius>
Its for sure easier. I hate setting up toolchains.
<cornelius>
Jammy also has Clang 14 I believe and ccache just kind of works out of the box with whatever gcc version ur using.
<johnjaye>
the compiler may matter for more technical things like c++17 features or what not
<johnjaye>
i was thinking of the simpler case of, are the -dev and libraries enough to compile a recent version of xyz.
<johnjaye>
or will it say error you need library version 0.12, 0.11 installed (this has actually happened)
<johnjaye>
ok. i know a few gcc options but can't really tell you how clang and gcc differ
Malditron has joined #armbian
<johnjaye>
maybe that matters more for armbian in particular
<lanefu-er>
Well can the Linux kernel even be built by clang in general? I thought that was still an ongoing effort
<cornelius>
in my experience not everything supports clang. u-boot comes to mind.
<cornelius>
a lot of third party wireless drivers don't compile against it either without effort
<cornelius>
as u can build a kernel with clang
<cornelius>
yes*
<johnjaye>
i know bsd uses clang to build the kernel. i know this because when i build it clang is the first thing that takes hours to finish
<cornelius>
if compiling for arm64 flag it with `LLVM=1 LLVM_IAS=1` and enable `lto clang thin`
lanefu-er is now known as lanefu
abws has quit [Ping timeout: 248 seconds]
cheakoirccloud has quit [Quit: Connection closed for inactivity]
cheakoirccloud has joined #armbian
xoan4 has joined #armbian
xoan has quit [Ping timeout: 240 seconds]
xoan4 is now known as xoan
<steev>
lanefu: yes it can
<steev>
johnjaye: that's what i'm getting at - most people running stable aren't trying to compile the latest releases of software because, well, they want their systems to be stable
alekksander has quit [Ping timeout: 246 seconds]
<johnjaye>
i see
<steev>
that isn't to say stable has no bugs, or that latest releases aren't stable, just that they are often at odds