Dietlibc + tcc

Julius Schmidt <[email protected]> Mon, 6 Dec 2010 23:06:56 +0100 (CET)
Newsgroups gmane.linux.lib.dietlibc
Message-ID <alpine.LNX.2.00.1012062303170.9725@sampi>
Hello folks,

I don't know if this list and/or this project is still active, but I'll 
try it nevertheless.
I've tried to compile dietlibc with tcc and i've stumbled upon several 
problems:

1. Odd options (-isystem) and the like
2. This piece of code (__v_printf.c):

union { char*s; } u_str;
#define s u_str.s

(The C equivalent of rape)

3. alloca is ubiquitiously used, but defined nowhere.

Just try to compile it, should be easily reproducable.

Since the makefile contains some tcc-specific pieces I hope that these are 
just mistakes and tcc compliance might be restored.

Aiju