WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: GCC can't find stdio.h inttypes.h errno.h  (Read 9302 times)

Offline moonterm

  • WikiUser
  • *
  • Posts: 2
GCC can't find stdio.h inttypes.h errno.h
« on: March 31, 2011, 10:05:56 AM »
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.

 

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 11094
Re: GCC can't find stdio.h inttypes.h errno.h
« Reply #1 on: March 31, 2011, 11:18:45 AM »
These are in the base-dev extension, but if you want to compile it is better to use the compiletc meta-extension

Offline moonterm

  • WikiUser
  • *
  • Posts: 2
Re: GCC can't find stdio.h inttypes.h errno.h
« Reply #2 on: March 31, 2011, 10:55:54 PM »
Do you mean compiletc.tcz from N. Carigon at 2009/08/22  ?

I will try it later.

Thanks a lot.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 11094
Re: GCC can't find stdio.h inttypes.h errno.h
« Reply #3 on: March 31, 2011, 11:03:29 PM »
Do you mean compiletc.tcz from N. Carigon at 2009/08/22  ?

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