On June 20, 2026 7:10:23 AM GMT+02:00, James Mills via Tinycc-devel <[email protected]> wrote: >FYI, I have to disable these options when compiling TCC in my musl build >environment > >it appears there might be a wchar_t header conflict in the bounds-checker? >I'm not sure, I'm no C developer. Just flagging here in case anyone else >has run into this? > >I had to build TCC like this to get it working: > ># Skip the bounds-checker and backtrace runtime: optional debug features we ># don't need, and building them (libtcc1.a's bcheck.o) hits a wchar_t header ># clash. Dropping them also keeps tcc smaller. >./configure \ > --cc="${CC:-gcc}" \ > --config-musl \ > --config-bcheck=no \ > --config-backtrace=no \ > --prefix=/usr \ > --disable-static > >This is on an ARM64 Alpine container btw. > >Kind regards > >James > >-- James Mills / prologic > >Join Yarn.social <https://yarn.social/?ref=email> today! The only >decentralised social media that respects your privacy and freedoms! > >E: [email protected] >W: prologic.shortcircuit.net.au >Blog: Read my Blog <https://prologic.blog/> >Yarn: @[email protected] <https://twtxt.net/~prologic>
I did this (among other changes to support musl better): https://git.sr.ht/~ft/tinycc/commit/731731ea80a1ce18d62c33ad7f976b0edbecdfac _______________________________________________ Tinycc-devel mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/tinycc-devel
