navi,
@navi@social.vlhl.dev avatar

some things spend more time doing ./configure checks than actually building, that's kinda insane

a1ba,
@a1ba@suya.place avatar

@navi autotools be checkin the existence of memcpy, strlen,...

lanodan,
@lanodan@queer.hacktivis.me avatar

@a1ba @navi Just in case you're building from something prior to 4.3BSD or AT&T UNIX® System V Release 4 (aka SVR4, which you can grep for in ./configure scripts).

lanodan,
@lanodan@queer.hacktivis.me avatar

@a1ba @navi Best is when some of those excessive checks occasionally fail with modern compilers because they screwed the syntax (and of course hide compiler warnings…).

lanodan,
@lanodan@queer.hacktivis.me avatar

@navi Which is one of the reasons why the oasis thing of just ignoring the upstream buildsystem is a bit appealing.
(Another being reviewability of the code involved, auto*hell configure scripts might as well be arcane assembly)

navi,
@navi@social.vlhl.dev avatar

@lanodan appealing if you have time to understand how to build every package i guess

because you lose the easy of just inherit build-system and have it work as is (for meson and autotools usually, make it depends if the makefile is sane)

lanodan,
@lanodan@queer.hacktivis.me avatar

@navi Usually it just boils down to ${CC} -o ${P} *.c and few -D flags.
But yeah, you wouldn't do a full ports tree like that, but for something a bit like a BSD base system it makes sense and holy shit it's fast.

navi,
@navi@social.vlhl.dev avatar

@lanodan and libs which you'd need to manually look for and pkgconfig

doable for simple c programs tho, i think

lanodan,
@lanodan@queer.hacktivis.me avatar

@navi For a base you can skip pkgconfig, and oasis does just that, which I guess allows it to lean on ninja to also resolve the dependencies.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • ngwrru68w68
  • rosin
  • GTA5RPClips
  • osvaldo12
  • love
  • Youngstown
  • slotface
  • khanakhh
  • everett
  • kavyap
  • mdbf
  • DreamBathrooms
  • thenastyranch
  • magazineikmin
  • anitta
  • InstantRegret
  • normalnudes
  • tacticalgear
  • cubers
  • ethstaker
  • modclub
  • cisconetworking
  • Durango
  • provamag3
  • tester
  • Leos
  • megavids
  • JUstTest
  • All magazines