Register a domain and help support LQ
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


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

Rep: Reputation: 15
Setting arm-gcc path?

i have two types of compiler installed in my system

1)usr/bin/gcc --> normal gcc compiler
2)usr/local/tools/linux/arm/gcc-3.2.2/arm-linux/bin/gcc --> arm gcc compiler

now i wish to build a program that could run on a zaurus PDA using CONFIGURE SCRIPT.
in this case, i wish to use the cross compiler, so how should i set the path ?

i have tried to run below

$PATH=/usr/local/tools/linux/arm/gcc-3.2.2/arm-linux/bin:$PATH ./configure --host=am-linux

but the computer would use normal gcc instead of the arm-gcc,how should i do?

$ file application
gave the result :
ELF 32-bit LSB executable, ARM, version 1 (ARM), for GNU/Linux 2.4.0, dynamically linked (uses shared libs), not stripped


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 On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Gcc not found in the $PATH redrobin77 Linux - Software 3 01-12-2004 12:08 PM
a doubt with host gcc and arm-linux-gcc renjithgopal Linux - General 1 09-11-2003 05:02 PM
gcc path problem lonzilla1969 Linux - Newbie 2 09-09-2003 03:23 PM
please help - cannot find gcc in path mchao Linux - General 9 02-14-2002 10:49 AM
GCC include path. jwilson Linux - General 1 04-02-2001 04:58 PM

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