Hi linux experts,
I'm having a small problem. let me first explain my situation.
I downloaded a multiprocessor simulator called LIMES. i also downloaded gcc 2.6.3 from the LIMES homepage b/c it requires that version and in my redhat 7.3 linux i have gcc 2.95.
all this is done in a terminal:
so i unzip everything and place LIMES in /home/limes and gcc2.3.6 in /usr/local/oldgcc. next i edit several makefiles for LIMES to redirect it to look into /usr/local/oldgcc. next i go into /home/limes/applications/fft and run make to build a fft program. however, i am given an error that the binary file (gcc) could not be executed. so what i do is build a hello world function called test.c then i call
% /usr/local/oldgcc/usr/bin/gcc test.c
well this again gives me the same error that the binary file could not be executed.
so i cd into /usr/local/oldgcc/usr/bin/ and call
% gcc /home/limes/applications/fft/test.c
well guess what? it works. it creates a.out
so then i though well let me try calling
% ../bin/gcc /home/limes/applications/fft/test.c
then it gives me the same error as before.
so whenever i access gcc through directories i get the error. i was wondering does anyone know why?
also, when i ran the successful gcc call and was given a.out, i tried running it by typing
% a.out
but it says command not found. this is the same error i get when trying to run other executable files such as audiogalaxy. am i doing something wrong???
any help would be greatly appreciated. thanks
frustrated
-srkherad