5

What the fucking shit is up with clang invoking gcc???

If I wanted gcc I would have called gcc, now do your damn work and stop doing stupid shit

The only thing I want to do is compile some c to a static lib. I've already wasted the entire day on this fucking bullshit. fuckckaf

Comments
  • 3
    Turns out gcc is just used as the linker... after I passed -fuse-ld=lld, specifically instructing it to use llvm's lld and NOT gcc

    Fuck this and fuck you clang
  • 0
    @12bitfloat what's wrong with that? lld is a separate thing from clang and wasn't production ready for quite a while (and isn't always installed along with clang), so I feel it's quite nice that clang defaults to the old linker
  • 2
    @RememberMe I specifically told it to use lld though and it doesn't

    ...actually it *does* but it doesn't understand ld.lld (the gnu frontend, which I want it to use as I'm cross compiling for x86_64 bare metal)

    But as it turns out the linker is unnecessary anyways because you build a static lib using an archiver. By hand. And you have to compile every god damn source file seperately

    Fuck this whole ecosystem, honestly
Add Comment