PDA

View Full Version : [ubuntu] arm-none-linux-gnueabi-gcc????????



mosol2005
December 23rd, 2012, 09:08 PM
hi every one...
when I enter the following command:
arm-none-linux-gnueabi-gcc test.c -o test
I received this error:
/home/mosol2005/arm-2009q1/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.3/../../../../arm-none-linux-gnueabi/bin/ld: cannot open output file test: Permission denied
collect2: ld returned 1 exit status

and when I used :
sudo arm-none-linux-gnueabi-gcc test.c -o test

I received the following error:
arm-none-linux-gnueabi-gcc: command not found

the out put of "file" command is:
arm-none-linux-gnueabi-gcc: ERROR: cannot open `arm-none-linux-gnueabi-gcc' (No such file or directory)

please help me.what must I do??