General TC > Programming & Scripting - Unofficial

GCC can't find stdio.h inttypes.h errno.h

(1/1)

moonterm:
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.

 

Juanito:
These are in the base-dev extension, but if you want to compile it is better to use the compiletc meta-extension

moonterm:
Do you mean compiletc.tcz from N. Carigon at 2009/08/22  ?

I will try it later.

Thanks a lot.

Juanito:

--- Quote from: moonterm on March 31, 2011, 10:55:54 PM ---Do you mean compiletc.tcz from N. Carigon at 2009/08/22  ?

--- End quote ---

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

Navigation

[0] Message Index

Go to full version