[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: what do you mean you can't find stdio.h!!!



Jeff Weatherford <jweather@nmia.com> wrote:
>Ok, maybe I'm a looser, but I thought that the standard c libraries were 
>part of the libc package.  In any case, I'm trying to compile some code 
>using gcc, and sure enough..."can't find file stdio.h"  At fist I think 
>maybe it's not in my path.

$PATH isn't checked for include files, just various directories compiled
into gcc (like /usr/include) and whatever you specify with -I.

>I checked, and it should have been.  Then as root:
>
>box:~# find / -name stdio.h
>box:~# find / -name iostream.h
>
>no hits for EITHER!  if the standard c and c++ headers are not in libc, 
>then where the heck are they?

libc6-dev - that is, the corresponding development package (which is
recommended by the gcc package).

By the way, try http://packages.debian.org/ for this sort of question.

HTH,

-- 
Colin Watson                                     [cjw44@flatline.org.uk]



Reply to: