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

Re: Debian uses gcc272 for kernel; conflicts with NVidia-kernel-src



On Thu, 17 Jan 2002, nate wrote:

> <quote who="Rick Macdonald">
> >
> > When I build my kernel 2.2.19 (using make-kpkg), the gcc version is
> > forced to gcc272.
> 
> you don't mention whether or not forcing gcc to 2.7.2 is intentional
> or not. 2.95.x is probably the best compiler for 2.2.19. i have
> several dozen servers running 2.2 and all of them are compiled
> with 2.95.x

The top level Makefile (usr/src/linux/kernel-source-2.2.19) forces it:

#	foo-bar-gcc for cross builds
#	gcc272 for Debian's old compiler for kernels
#	kgcc for Conectiva, Mandrake and Red Hat 7
#	otherwise 'cc'
#
CC	=$(shell if [ -n
"$(CROSS_COMPILE)" ]; then echo
$(CROSS_COMPILE)gcc; else \
	$(CONFIG_SHELL) scripts/kwhich gcc272 2>/dev/null ||
$(CONFIG_SHELL) scripts/kwhich kgcc 2>/dev/null || echo cc; fi)

and scripts/kwhich returns the first one it finds, which is gcc272.

> i only have 1 system that uses the nvidia drivers, 2.2.19 with
> gcc 2.95.4(debian woody). potato has 2.95.2. i have not tested
> the nvidia drivers on debian potato ...

It seems to me that the only way this would work for you is if you didn't
have gcc272 installed, which seems unlikely. Are you uses the nvidia
2313/2314 deb packages?

What does /proc/version show?

timshel:~$ cat /proc/version 
Linux version 2.2.19 (root@timshel) (gcc version 2.95.4 (Debian
prerelease)) #1 Thu Jan 17 11:20:34 MST 2002

...RickM...



Reply to: