Re: Standard c header files



Sam wrote:
The Natural Philosopher writes:

Sam wrote:
lowrider writes:

I need to compile this driver for machine and I am beeing as to provide
the standard c header files in sys(types.h) where can I get those. I
have gcc but can't compile without those include files.

You should already have them. The headers are installed, by default, by most Linux distributions.


should be somewhere in /usr/lib...

Actually, no.

Try /usr/include


Muy Bad.

Been few years...
.



Relevant Pages

  • Re: Just starting out in C
    ... was based on the ANSI standard as it was being developed. ... Some words about gcc: ... gcc provides some extensions to the language that aren't supported by ... For example, to compile the Hello, World program, use the command line ...
    (comp.lang.c)
  • Re: Currant status of iostream.h
    ... Is iostream getting deprecated, or was I just using it wrong? ... I'm using GCC ... The standard C++ header files do not use .h as part of the extension. ...
    (comp.lang.c)
  • Re: Linux without the GNU toolchain?
    ... Not according to gcc 4.0.1. ... I tried to compile a program with that line and ... Variadic macros are standard as of the C standard of 1999, ...
    (comp.os.linux.misc)
  • Re: Utility to ensure appropriate headers were included
    ... failed to compile. ... One not addressed by the C standard. ... So what you could do is copy your compiler's header files ... to a separate directory structure somewhere, ...
    (comp.lang.c)
  • Re: Variable declarations at the middle of a block works
    ... option) or standard gcc is using by default ... when I ask to compile a.c without any options? ... The documentation. ...
    (comp.lang.c)