Tiny Core Linux

General TC => Programming & Scripting - Unofficial => Topic started by: moonterm on March 31, 2011, 01:05:56 PM

Title: GCC can't find stdio.h inttypes.h errno.h
Post by: moonterm on March 31, 2011, 01:05:56 PM
Hi All,

  I am new to Tiny Core Linux but It is very good to me.

  I would like to know how to include stdio.h , inttypes.h and errno.h in my Tiny Core Linux.

  version: v3.5.1
  gcc: 4.4.3   (gcc.tcz)

  I got following message when I compile the *.c by Makefile.
  error: inttypes.h: No such file or directory
  error: stdio.h: No such file or directory
  error: errno.h: No such file or directory

  Please help, Thanks a lot.

 
Title: Re: GCC can't find stdio.h inttypes.h errno.h
Post by: Juanito on March 31, 2011, 02:18:45 PM
These are in the base-dev extension, but if you want to compile it is better to use the compiletc meta-extension
Title: Re: GCC can't find stdio.h inttypes.h errno.h
Post by: moonterm on April 01, 2011, 01:55:54 AM
Do you mean compiletc.tcz from N. Carigon at 2009/08/22  ?

I will try it later.

Thanks a lot.
Title: Re: GCC can't find stdio.h inttypes.h errno.h
Post by: Juanito on April 01, 2011, 02:03:29 AM
Do you mean compiletc.tcz from N. Carigon at 2009/08/22  ?

Yes, this will download all the extensions usually required to compile