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

Re: Should this be filed as grave? Gcc-2.95



On Mon, Aug 04, 2003 at 09:14:08PM -0700, Steve Lamb wrote:

> On Mon, 4 Aug 2003 23:37:32 -0400
> Matt Zimmerman <mdz@debian.org> wrote:
> > What you meant to do was to run "make CC=gcc-2.95" instead of make.  There
> > is no need to futz around with the default gcc version; just ask for what
> > you want.
> 
>     Uh, no.  I am aware of that.  That, however, did not prevent it from
> running the wrong GCC.

Works fine for me.

*** End of Linux kernel configuration.
*** Check the top-level Makefile for additional configuration.
*** Next, you must run 'make dep'.

mizar:[.../linux/kernel-source-2.4.21] make CC=gcc-2.95
make[1]: Entering directory `/space/tmp/mdz/linux/kernel-source-2.4.21/arch/i386/boot'
make[1]: Nothing to be done for `dep'.
make[1]: Leaving directory `/space/tmp/mdz/linux/kernel-source-2.4.21/arch/i386/boot'
rm -f .depend .hdepend
make _sfdep_kernel _sfdep_drivers _sfdep_mm _sfdep_fs _sfdep_net _sfdep_ipc _sfdep_lib _sfdep_crypto _sfdep_arch/i386/kernel _sfdep_arch/i386/mm _sfdep_arch/i386/lib _FASTDEP_ALL_SUB_DIRS="kernel drivers mm fs net ipc lib crypto arch/i386/kernel arch/i386/mm arch/i386/lib"
make[1]: Entering directory `/space/tmp/mdz/linux/kernel-source-2.4.21'
make -C kernel fastdep
make[2]: Entering directory `/space/tmp/mdz/linux/kernel-source-2.4.21/kernel'
gcc-2.95 -D__KERNEL__ -I/space/tmp/mdz/linux/kernel-source-2.4.21/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 -malign-functions=4  -nostdinc -iwithprefix include -E -D__GENKSYMS__ signal.c
[...]

Yes, I know that's 2.4.21, but I'm not going to unpack a whole 2.4.20 tree
to demonstrate that it works the same way.  It does.

> v2.4.21 of the kernel had a problem with 3.3.  It would die repeatedly on
> the same line in ide-cd.h.  I did tell make to use gcc-2.95 and it failed
> on the exact same line.  Removing gcc, which is 3.3, gcc-2.95 which
> depended on 3.3 (this is NOT 2.95 in my eyes) and then installing the
> packages from woody did allow me to recompile that version of the kernel.

gcc-2.95 doesn't depend on 3.3; it depends on the "gcc" package, which
happens to be version 3.3 in unstable.  That package doesn't contain any
compilers; it just sets the default compiler and related tools, e.g.
/usr/bin/gcc.

>     I fail to see how 2.95 installing 3.3 somehow equates to 2.95.

It doesn't.

-- 
 - mdz



Reply to: