gcc on zaurus: symlinks
LLeweLLyn Reese
llewelly@lifesupport.shutdown.com
Fri Apr 4 20:35:00 GMT 2003
Marcus <marcus@wordit.com> writes:
> I'm trying to use gcc on the sharp zaurus PDA, and space is limited. I have gcc on a CF card and need to symlink so gcc can find its include files.
>
> Where does gcc look for includes?
> Command line paths (-Ipath) won't work because its a Perl makefile giving the instructions.
>
> I'm trying to compile Perl modules, and am not a C programmer. Pls
> keep that in mind.
Please see the documentation on C_INCLUDE_PATH, CPATH, etc, at:
gcc.gnu.org/onlinedocs/gcc-3.2.2/gcc/Environment-Variables.html#Environment%20Variables
(scroll a few pages down, or search for CPATH). Perhaps those will
solve your problem. Most likely, you can just set the environment
variable C_INCLUDE_PATH to contain the proper
directories. Unfortunately, I've never used a zaurus, and so have
no idea how to set evironment variables on it.
If not, most perl makefile have a means to control include paths and
the like - double-check the installation and troubleshooting instructions.
Good luck.
More information about the Gcc-help
mailing list