Hello,

On Fri, 27 Mar 2020, Julio Carchi wrote:

Here is a paste of the config.log file

https://pastebin.com/xqmUSKpj

Seems that the ./configure script was unable to find the proper paths where are the include files.

You seem to miss the glibc-kernel interface headers, e.g.
/usr/include/asm/socket.h. (You do seem to have a system based on glibc, looking at some of the error message in the above)

Can you compile this file with gcc on your system as is?

% cat checkme.c
#include <sys/socket.h>
% gcc -c checkme.c

If it doesn't work with gcc either, then you have an incomplete installation of your basic development system and you need to fix that first.

If it does work it might be useful to look at the output of:

% gcc -E -dD checkme.c

to see which macros are defined where for you on your system and maybe see why it doesn't fail in the same way as with tcc.


Ciao,
Michael.

_______________________________________________
Tinycc-devel mailing list
Tinycc-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/tinycc-devel

Reply via email to