tinycc-devel
[Top][All Lists]
Advanced

[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: Lubomir Kundrak
Subject: Re: [Tinycc-devel] tcc with glibc-2.3.6 stdio.h and hello world
Date: Thu, 29 Jun 2006 16:06:40 +0200
User-agent: Mutt/1.4.2.1i

Hi!

Oh, please use stddef.h bundled with tcc distribution instead of glibc's one.
Didn't you forget to install it?
The comment in that file will probably provide you with more info.

Kind regards,
Lubo

On Thu, Jun 29, 2006 at 08:40:29AM -0500, t35t0r wrote:
> Message-ID: <address@hidden>
> Date: Thu, 29 Jun 2006 08:40:29 -0500
> From: t35t0r <address@hidden>
> To: address@hidden
> Subject: Re: [Tinycc-devel] tcc with glibc-2.3.6 stdio.h and hello world
> In-Reply-To: <address@hidden>
> References: <address@hidden>
>       <address@hidden>
> 
> 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.
> >
> 
> 
> _______________________________________________
> Tinycc-devel mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/tinycc-devel

-- 
4.3 BSD UNIX #1: Fri Jun  6 19:55:29 PDT 1986

Would you like to play a game?

Lubomir Kundrak <http://skosi.org/~lkundrak/>
NetBSD.sk <http://netbsd.sk/>
Slovak Open Source Initiative <http://skosi.org/>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]