327
submitted 7 months ago by Ephera@lemmy.ml to c/programmerhumor@lemmy.ml
you are viewing a single comment's thread
view the rest of the comments
[-] PotatoesFall@discuss.tchncs.de 34 points 7 months ago

why are you using three different distros to build a single application?

[-] joyjoy@lemm.ee 22 points 7 months ago

Probably nixos to run distrobox with fedora, then using podman to run debian to compile the C application.

[-] MajinBlayze@lemmy.world 7 points 7 months ago* (last edited 7 months ago)

The why is a good question, but I'd also like to know "How?"

[-] _hovi_@lemmy.world 6 points 7 months ago

I'd assume virtual machines - as for why, just checking their program works on different systems I guess

[-] PotatoesFall@discuss.tchncs.de 5 points 7 months ago

according to the meme it's just compiling, no other build steps... suspicious

[-] MajinBlayze@lemmy.world 2 points 7 months ago

Yeah, probably more boring than I assumed; podman with 1 apt based distro, one rpm based distro, and Nixos. Each doing an independent build and packaging in their respective builds systems.

I was hoping for some rube Goldberg's machine of compilation, but that's probably not the case.

[-] Ephera@lemmy.ml 6 points 7 months ago

Well, first I tried compiling it on my own distro (which isn't listed in the image). Then I tried compiling it with the help of nix-shell (that's the NixOS logo).

Then I figured, fuck it, let's just launch a whole container for compiling, so I tried the distros listed in the official documentation (Debian and Fedora), which, you guessed it, didn't work either.

This is a hobby project that I'm trying to compile, so this definitely won't be the best showing of C, but still just astronomically more painful than it should be...

this post was submitted on 22 Apr 2024
327 points (94.3% liked)

Programmer Humor

32559 readers
945 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS