This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gcc on zaurus: symlinks


> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]