[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: gcc version?



 0, Mario Vukelic <mario.vukelic@dantian.org> napisał:
> On Mon, 2003-09-01 at 22:10, Lukasz Hejnak wrote:
> > export/setenv CC=gcc-2.95
> > (select one, export or setenv, depending on your distro)
> rather, depending on your shell. setenv if you run csh or tcsh, export
> if you run bash (highly probable)
ah yes... my mistake
> An easier way to set the compiler to s specific version just for one
> compile is to specify the environment variablw on the command line:
> CC=gcc-2.95 make install [or whatever the original poster wanted to
> accomplish]
yes, that's another way to do it (didn't come to my mind)
this way you can run either the above command in the src dir or
CC=gcc-2.95 ./NVIDIA-Linux-x86-1.0-4496-pkg2.run 
(if you want to use the installer)
remember to start the installer as root and to check
if you have the gcc-2.95 file in /usr/bin or /usr/local/bin

--
with regards
Lukasz Hejnak
szift@tkk.pl



Reply to: