profile
viewpoint

Ask questionsTcc 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 -
void-linux/void-packages

Answer questions hiltjo

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).

useful!
source:https://uonfu.com/
answerer
hiltjo hiltjo https://git.codemadness.org https://git.codemadness.org This account won't be used anymore, please visit git.codemadness.org to see my active projects. seturgent and static-site-scripts are there also.
Github User Rank List