maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Upgrading (https://talk.maemo.org/forumdisplay.php?f=8)
-   -   how to change path from /usr/include to /targets/SDK_ARMEL/usr/include for building? (https://talk.maemo.org/showthread.php?t=7060)

kmkj 2007-06-28 19:29

how to change path from /usr/include to /targets/SDK_ARMEL/usr/include for building?
 
Hi. I am trying to build some C files inside Scratchbox, using a cross-
compilation toolchain. But the compiler is looking into /usr/include/ folder to
include the header files, whereas I need it to look into some other
path: /targets/SDK_ARMEL/usr/include. The build is failing because it
cannot find the right type of architecture as it is looking into wrong
directories when I run make. I am using SDK_ARMEL target as set up by the installating script, which uses cs2005q3.2-glibc-arm toolchain and arm-linux-gcc compiler I guess. Can you help me? I probalby need to change the default path for gcc from /usr/include to something else.
Thanks a lot
KM


All times are GMT. The time now is 17:00.

vBulletin® Version 3.8.8