I'm trying to compile using a makefile with arm-elf-gcc on ubuntu 9.10. The problem is that I can't change the default path. The error I get is
the makefile is located at 'michael/Documents/usb_eth/src' and arm-elf-gcc at 'michael/toolchain/gnu-arm-installer/install/bin'. (michael is the home directory)
/disk2/tools/gnuarm/bin/arm-elf-gcc -c -I. -x assembler-with-cpp -mcpu=arm7tdmi startup.S -o startup.o
make: /disk2/tools/gnuarm/bin/arm-elf-gcc: Command not found
make: *** [startup.o] Error 127
So it looks for arm-elf-gcc at the wrong location.
I followed the instructions from http://ubuntuforums.org/showthread.php?t=748593 (I added the line 'export PATH=$PATH:/toolchain/gnu-arm-installer/install/bin' to .bashrc and the line 'source $HOME/.bashrc' to .bash_profile, both in the home directory) and the path does seem to be changed, cause 'echo $PATH' returns
Still I get the same error.
Can anyone help?
thanks in advance,