This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: gcc on zaurus: symlinks
- From: Marcus <marcus at wordit dot com>
- To: <gcc-help at gcc dot gnu dot org>
- Date: Sat, 5 Apr 2003 01:48:12 +0200
- Subject: 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