Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Desktop
User Name
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.


  Search this Thread
Old 10-11-2006, 12:40 PM   #1
LQ Newbie
Registered: Sep 2006
Posts: 18

Rep: Reputation: 0
how to modify configure script for cross compiling?

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?

Old 10-11-2006, 06:38 PM   #2
LQ Newbie
Registered: Jul 2005
Posts: 10

Rep: Reputation: 0
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.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Cross-Compiling with glibc trek413 Linux - Software 0 08-24-2006 09:34 PM
Cross Compiling dosnlinux Programming 5 03-01-2006 11:12 AM
cross compiling cerin Linux - Software 1 02-11-2006 10:47 PM
cross-compiling? jon_k Programming 3 12-09-2004 09:36 AM
cross compiling with g++ hornofsalvation Linux - Newbie 2 10-09-2004 10:29 PM > Forums > Linux Forums > Linux - Desktop

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

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration