I am trying to compile a program using GCC in SCO, and I am unable to find the ctype.h
file. I have managed to find the other files that were missing when compiling, like string.h
etc.
I was getting this returned before I found where most of the other files were:
In file included from test.c:76:
strutil.c:2: string.h: No such file or directory
strutil.c:3: stdio.h: No such file or directory
In file included from test.c:77:
pcutils.h:3: ctype.h: No such file or directory
In file included from test.c:78:
pcutils.c:2: string.h: No such file or directory
pcutils.c:3: stdio.h: No such file or directory
test.c:79: time.h: No such file or directory
test.c:81: stdio.h: No such file or directory
Most of those files are in /opt/K/SKUNK99/Gcc/2.95.2pl1/usr/local/lib/gcc-lib/i386-pc-sco3.2v5.0.5/2.95.2/include/oldstyle
Now it is showing this:
In file included from test.c:77:
pcutils.h:3: ctype.h: No such file or directory
Therefore my question is:
- Where can I find the
ctype.h
file?
This question is related to .profile in SCO
ctype.h
is part of the C standard library. You should get that by default. I don't know what OS you're on, but make a search forglibc
. – Emanuel Berg Jul 23 '12 at 15:26