OESF Portables Forum

Everything Else => Desktop Operating Systems Issues => Zaurus General Forums => Archived Forums => Linux Issues => Topic started by: summer00 on June 16, 2004, 06:01:23 am

Title: setting arm-gcc PATH?
Post by: summer00 on June 16, 2004, 06:01:23 am
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
Title: setting arm-gcc PATH?
Post by: lardman on June 16, 2004, 06:22:19 am
You need to set the env vars CC, LINKER, etc.

See my reply to your other post. Or look here: http://www.zaurususergroup.com/index.php?n...iewtopic&t=1072 (https://www.oesf.org/forums/index.php?showtopic=1072)


Simon