Sunday, 25 August 2013

why the gcc user the Absolute path for inc and lib

why the gcc user the Absolute path for inc and lib

I am build a arm cross compile use gcc + eglibc.I build it success.and can
use it build kernel and app. But when I move the cross compile tools to
another dir.it can't working. like this program: enter code here#include
enter code hereint main(void) enter code here{ enter code herereturn 0;
enter code here} user arm-grg-linux-gnueabi-gcc compile this, it is out
can't find stdio.h
I just mv tools/{cross compile} to tool/{cross compile}
so I want somebody help me how modify the gcc default dir to Relative
path. so i can copy this tools to my parter.
thanks!

No comments:

Post a Comment