LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Desktop (https://www.linuxquestions.org/questions/linux-desktop-74/)
-   -   how to modify configure script for cross compiling? (https://www.linuxquestions.org/questions/linux-desktop-74/how-to-modify-configure-script-for-cross-compiling-491490/)

shamju 10-11-2006 12:40 PM

how to modify configure script for cross compiling?
 
Hi
I have ADI's Fusiv processor based board with linux 2.4 running. I have the cross compiler also (lx4189-uclib-gcc). I want to cross compile liboil library (an open source library) to Fusiv. What changes should i do to the configure script?

thanks
shamju

mebrahim 10-11-2006 06:38 PM

You should set the CC env. variable so that 'configure' script use your compiler instead of the default (e.g. gcc). For example:
export CC=lx4189-uclib-gcc
You should probably set --target parameter of 'configure' to an appropriate value.


All times are GMT -5. The time now is 07:28 AM.