gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

DS development > compiling error : Permission denied!

#143713 - Programix - Thu Oct 25, 2007 3:24 pm

Hello, I reinstall my Linux Ubuntu 6.10 and when I try to compile an example,
it writes error :
Code:

make[1]: execvp: arm-eabi-gcc: Permission denied
make[1]: *** [main.o] Error 127

and stops
Please, what it means?

#143728 - jackman - Thu Oct 25, 2007 6:19 pm

do you have execution rights for arm-eabi-gcc?

try: chmod 0777 ./arm-eabi-gcc
_________________
Equipment:
Nintendo DS, GBAMP v2, SuperCard SD, SuperKey, Acekard 2i

#143742 - Programix - Thu Oct 25, 2007 8:08 pm

Thanks! It looks like it works

#143756 - tepples - Thu Oct 25, 2007 9:21 pm

Would chmod 0755 ./arm-eabi-gcc be preferable, to limit the damage that malware in your account can do?
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.

#143758 - wintermute - Thu Oct 25, 2007 9:30 pm

The real question is how you managed to remove execution rights to the executables in the first place. Do you have some overly restrictive umask set?
_________________
devkitPro - professional toolchains at amateur prices
devkitPro IRC support
Personal Blog