LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 06-16-2004, 04:59 AM   #1
karfei00
Member
 
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
$make

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
 
  


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 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 11:08 AM
a doubt with host gcc and arm-linux-gcc renjithgopal Linux - General 1 09-11-2003 04:02 PM
gcc path problem lonzilla1969 Linux - Newbie 2 09-09-2003 02:23 PM
please help - cannot find gcc in path mchao Linux - General 9 02-14-2002 09:49 AM
GCC include path. jwilson Linux - General 1 04-02-2001 03:58 PM


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