gcc on zaurus: symlinks

Marcus marcus@wordit.com
Fri Apr 4 23:48:00 GMT 2003


> Please see the documentation on C_INCLUDE_PATH, CPATH, etc,

I tried those variables in a shell script, but still get the error: 
hello.c:2: No include path in which to find stdio.h

The script is:
C_INCLUDE_PATH=/home/userdata/dev/lib/gcc-lib/armv4l-redhat-linux/2.95.1:/home/userdata/dev/include:/home/userdata/dev/include/bits
CPATH=/home/userdata/dev/lib/gcc-lib/armv4l-redhat-linux/2.95.1:/home/userdata/dev/include:/home/userdata/dev/include/bits
gcc -o hello hello.c

These paths work if used with the -I switch. Any ideas?

Thanks,

Marcus



More information about the Gcc-help mailing list