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>
_______________________________________________
Tinycc-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/tinycc-devel

Reply via email to