Hi, On Sat, 24 Nov 2018, ian wrote:
None of my habits, but I'd like an advice. I didn't code in C for many many years. But... I did a few years ago correctly install tcc on my windows 7, but unfortunately it went down (winscrap), and I only have my debian 8 x32 other PC (kinda server for apache/php/mysql/pgsql/ and so on). I did get the last release found, and I have this error while trying to compile a simple "Hello World, exit=%d"... I get almost the same kind of error while trying to compile gcctestsuite.c tcc: file '/usr/lib/crt1.o' not found tcc: file '/usr/lib/crti.o' not found In file included from test.c:1: In file included from /usr/include/stdio.h:27: /usr/include/features.h:374: include file 'sys/cdefs.h' not found
You miss the development files for glibc, I think on debian it's libc-dev or libc6-dev. (after installing those you probably need to reconfigure/build tcc, so that it searches in the correct dirs on debian).
Ciao, Michael. _______________________________________________ Tinycc-devel mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/tinycc-devel
