TCC fails with GNU’s regex.h:

echo '
                                              #include <regex.h>

                                              int main() { return 0; }' | tcc - -run
In file included from -:2:
/usr/include/regex.h:682: error: '__nmatch' undeclared

Would building it from source fix the issue? I know from my experience that Pop_OS! apt repositories are not very up-to-date with smaller apps. For example, NekoVM is from 2017, the latest one is from 22 I believe.

  • @refalo
    link
    12 months ago

    I thought tcc wasn’t developed anymore?

    • ChubakPDP11+TakeWithGrainOfSaltOP
      link
      02 months ago

      I think forks of it are being developed. I found a fork under active development, but I can’t seem to find it.