Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 06-16-2004, 04:11 AM   #1
Registered: May 2004
Posts: 54

Rep: Reputation: 15
cross compile PATH problem

i have the cross-compile toolchain in /usr/local/tools/linux/arm/gcc-3.2.2/arm-linux/bin/gcc , now what i want to do is to compile a program with configure script, how do i set the path so that the computer will use the arm gcc(in the path i've just mentioned) instead of the normal gcc ?

is this the command to compile ?
./configure --host=arm-linux

thanks a lot
Old 06-16-2004, 08:39 AM   #2
Registered: May 2004
Location: Osaka
Distribution: FreeBSD 5.2, Mandrake 9.2
Posts: 39

Rep: Reputation: 15
i have never cross compiled anything before but i think you
can not pass the argument to cross compile to the ./configure

you can only cross compile with gcc -b <machine name>


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
How can I cross compile the kernel? Basel Slackware 5 09-07-2005 07:23 AM
How to cross compile? jiyun0121 Linux - General 3 09-01-2005 07:15 PM
Qt Cross Compile werewolfolondon Linux - Software 2 02-25-2005 02:01 PM
cross compile zaicheke Linux - Software 7 01-20-2005 09:23 PM
How to cross-compile? karfei00 Linux - Laptop and Netbook 2 06-03-2004 10:56 AM

All times are GMT -5. The time now is 07:22 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