Useful or not, from you.
void-packages Tcc won't link executables

<!-- Don't request update of package. We have a script for that. https://alpha.de.repo.voidlinux.org/void-updates/void-updates.txt . However, a quality pull request may help. -->

System

  • xuname:
    Void 5.11.17_1 x86_64 GenuineIntel notuptodate rrmFFF
  • package:
    tcc 0.9.27.20191027.1_1

Expected behavior

Executable file should be generated by tcc

Actual behavior

tcc: error: file 'crtn.o' not found

Steps to reproduce the behavior

echo "int main(){}" | tcc -
That's a useful answer
Without any help

Hi,

Have you tested that fix on Void Linux glibc?

I've had gcc, clang and glibc-devel installed, so that's not the issue I think.

But even if it would be the solution then maybe it should be documented somewhere this file is required. Some distributions show such information when the package is installed (just an idea).