r/linuxquestions • • 21d ago

Why do certain Linux users dislike GNU?

I've heard of certain Linux distributions which reject the usage of glibc entirely, but what's the main reason the rejection of GNU entirely within certain corners of the Linux community (which, imo, is very ironic, considering the Linux kernel is under the GNU GPL)?

165 Upvotes

267 comments sorted by

View all comments

Show parent comment

38

u/toon_link_776 21d ago

are there really any currently feasible open source alternatives to GCC? Not arguing, just genuinely curious. Whenever I see the conversation come up people end up mentioning a couple of smaller alternatives in a "well I guess you could use this" kind of way but it seems like there's really not much reason not to use GCC, at least nothing better to go for at the moment. I'm not that informed on it though

73

u/inemsn 21d ago

but it seems like there's really not much reason not to use GCC,

People have mentioned clang/llvm, which is indeed a good alternative, but what I don't think they entirely understand is that you're right about this. There isn't much reason not to use GCC: It just works, it receives a lot of support, and it's largely free of the stagnancy that other GNU projects have.

8

u/wackyvorlon 21d ago

Also targets quite a few platforms.

3

u/Vorrnth 18d ago

Well GCC doesn't provide a lsp. So I also need clang too.

4

u/spuntotheratboy 20d ago

At that point, why not just use FreeBSD?

3

u/Vorrnth 18d ago

Mainly, worse hardware support. Other than that FreeBSD is great.

1

u/spuntotheratboy 18d ago

Yeah, it's relatively limited compared to Linux in terms of hardware support, but it has so much else going for it. I've got it running bare metal on an old MacBook and there's not that much I can't do.

26

u/VoodooSteve 21d ago

Yes, clang and the LLVM backend.

-3

u/danisbars 21d ago

Tô usando clang. Antes usava GCC. Inexplicável, é tipo comparar um carburador com uma bateria de lítio.

3

u/SuperGNUser 21d ago

Can you explain? There’s nothing that Clang does that GCC doesn’t, whereas the reverse isn’t true.

→ More replies (1)

20

u/OnesimusUnbound 21d ago

GCC has some interesting history (hint: forked)

https://en.wikipedia.org/wiki/GNU_Compiler_Collection#EGCS_fork

8

u/toon_link_776 21d ago

interesting read!

8

u/knuthf 21d ago

I developed a compiler primarily using the Norsk Data programming language, PLANC. I was told that the compiler group had finished it and that Oracle was using it. Our coding platform was much better, with support from specialised hardware that allowed runtime inspection with the full source code visible. It was available on the 88K and the Open Software Foundation — Red Hat Linux.

3

u/CraveCollarr 21d ago

you explained that whole drama way too well kinda impressive how much you know this stuff

3

u/knuthf 21d ago

I manage the making of Linux, paid the salary and prepared the benchmark and approval. My prime focus was Oracle and the Ariane liftoff that I also managed. We had own OS, and a good group for measurements and performance.

2

u/Drenlin 21d ago

Several projects have done it using Bionic, so there's that? Lots of hurdles to overcome there, though.

1

u/glassmanjones 21d ago

Yeah, GCC without stallman holding us back

1

u/FedUp233 19d ago

What about clang?

Last I heard it does pretty much everything gcc does at least in all the common environments and target processors.

0

u/wiebel 21d ago

I am completely converted and daily driving clang/llvm. There a handfull of oddballs requiring gcc vut that is. Totally manageable. Many of the ceosscompiling tooling is based on gcc but that is only a matter of time. Llvm is the wayland of the compiler, new and shiny.

8

u/SuperGNUser 21d ago

That’s a nonsensical comparison. Nobody ‘uses’ GCC except when compiling. You use the executables compiled with GCC. It’s not the same as Xorg versus Wayland.

4

u/wiebel 21d ago

I was talking about the legacy it carries around. But also I missed that this is not r/gentoo. My bad.

2

u/SuperGNUser 20d ago

Legacy? GCC is so up to date that it already supports processors that haven’t even hit the market yet. Honestly, you’re talking nonsense.

1

u/wiebel 20d ago

It still carries along quite some legacy. I have not said that it's outdated. X11 is also still perfoming with the latest gpus. Something it's a good thing to give it a fresh start.

1

u/_BrokenButterfly 17d ago

They're using the literal form or legacy, not the descriptive form.

4

u/braaaaaaainworms 20d ago

Cross compiling tools are only really GCC because LLVM doesn't need anything fancy to cross compile other than libraries for the target, you just do a clang -target and that's it