[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Tinycc-devel] tcc with glibc-2.3.6 stdio.h and hello world
From: |
t35t0r |
Subject: |
Re: [Tinycc-devel] tcc with glibc-2.3.6 stdio.h and hello world |
Date: |
Thu, 29 Jun 2006 08:40:29 -0500 |
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 <address@hidden> 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.