This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gcc path


At 17.21 02/01/2002 (GMT +0200), Mike wrote:
>hi
>i have redhat 7.2
>i installed gcc 3.02 and later downgraded to 2.98 (with rpm)
>i tried to remove everything that left from 3.02
>now i can't access to gcc because bash is looking for it in /usr/local/bin 
>(instead of /usr/bin/gcc)
>how can i change it (creating CC variable doesn't help, making a link in 
>/usr/local/bin/ creates "cpp0 error")
>thanx for your help

Sorry, but I didn't understand what's happening.
You mean that bash tries to execute /usr/local/bin/gcc inestead of 
/usr/bin/gcc even if the former doesn't exist ?
What happen whan you try to run gcc - can you mail me the bash output of 
gcc -v ?

fwyzard


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]