I've installed a gcc compiler and it's path is /usr/gnu/bin/gcc.... problem is my header file are stored in /usr/include/ ... when I trying compiling a simple hello.c program I get stdio.h: No such file or directory - What could be the problem?
The header files in /usr/include are probably the SCO ones, not the GNU ones. Is there a stdio.h in /usr/gnu/include? If so, try using [g]gcc -I /usr/gnu/include ...[/b]. You can probably make this a default by altering spec files or setting environment variables...
>stdio.h is located in >/usr/local/lib/gcc-lib/powerpc-ibm-aix5.2.0.0/3.3.2/include
Great! I've found the include files.... in a similar path but in the /usr/gnu folder, how then do I incorporate them with the gcc command without the -l?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.