Yes the file was in a non-standard directory:

/usr/include $ find . -iname "*stddef*"
./wine/msvcrt/stddef.h
./linux/stddef.h

I made a link:

include # ln -s linux/stddef.h
lrwxrwxrwx  1 root root     14 Jun 29 08:34 stddef.h -> linux/stddef.h

it gets even better now:

$ tcc hello.c
In file included from hello.c:1:
In file included from /usr/include/stdio.h:72:
In file included from /usr/include/libio.h:32:
In file included from /usr/include/_G_config.h:44:
/usr/include/gconv.h:72: invalid type

69: /* Type of a conversion function.  */
70: typedef int (*__gconv_fct) (struct __gconv_step *, struct
__gconv_step_data *,
71:                         __const unsigned char **, __const unsigned char *,
72:                         unsigned char **, size_t *, int, int);

how to solve this one?

On 6/29/06, Lubomir Kundrak <[EMAIL PROTECTED]> wrote:
Could you please look where do you have your stddef.h?
$ find / -name stddef.h

Probably it's in some directory specific for gcc, or... dunno.



_______________________________________________
Tinycc-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/tinycc-devel

Reply via email to