arm-linux-gcc

sudhakar_yg
Hi All,
I am a newbe to friendly arm. I recently brought a friendly arm mini2440
kit to do some R&D. By default it came with qtopia linux version
2.6.32.2-FriendlyARM.

I am trying to install arm-linux-gcc ver 4.3.2 downloaded from same
website. After installation, I have set the path variables pointing to
folder.
echo $PATH gives me the below output.
.............................................................
[root@FriendlyARM /]# echo $PATH
/sbin:/usr/sbin:/bin:/usr/bin:/usr/local/arm/4.3.2/bin
.............................................................

Which arm-linux-gcc gives the following output
.............................................................
[root@FriendlyARM /]# which arm-linux-gcc
/usr/local/arm/4.3.2/bin/arm-linux-gcc
.............................................................

When I try to execute the command arm-linux-gcc -v, I am getting the below
error,
.............................................................
[root@FriendlyARM /]# arm-linux-gcc -v
/usr/local/arm/4.3.2/bin/arm-none-linux-gnueabi-gcc: line 1: syntax error:
"(" unexpected
.............................................................

Can someone help me in figuring out what is the issue.
Infact I tried to install the arm linux gcc ver 4.4.3 earlier & got
similiar error & thought it was problem with the release & tried to install
4.3.2, but getting same error with this version also.
Need help to fix this issue.

Thanks in advance.
Cheers,
Sudhakar

Juergen Beisert
"arm-linux-gcc" seems not a compiler to run _on_ your Mini2440, instead it
is a cross compiler to be ran on your host to create binaries to be run on
your target.
If the "file" command is available on your Mini2440, just run it on the
compiler's binary and you will see, for what architecture it is intended to
run on.

sudhakar_yg
Hi Beisert,
Thanks a lot for the response. Will try out the way you have suggested.

Cheers,
Sudhakar.