LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices

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

Rep: Reputation: 0
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
 
Old 10-11-2006, 06:38 PM   #2
mebrahim
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.
 
  


Reply


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


All times are GMT -5. The time now is 11:09 AM.

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