+++ Nick Lindsell [RedHat] [Wed, Oct 16, 2002 at 03:58:14PM +0100]: > >I believe it's problem with gcc, in some place I read the author > >recommended > >using kgcc and not Red Hat's gcc > > There doesn't appear to be a kgcc in rh8.0 > But looking /usr/bin I find i386-redhat-linux-gcc which appears to be a > hard link > to /usr/bin/gcc and right next to it is a thing called > i386-redhat-linux7-gcc. > Could this be linked and used as kgcc ?? I've found a gcc-compat and installed it. It has created a gcc296. I expected my build to work now, but I still get the same error.
How I used it:
make CC=gcc296 bzImage
make CC=gcc296 modules
Is there more I need to do to 'truly' be using the 2.96 version of gcc? It
looks like it's using gcc296...
gcc296 -D__KERNEL__ -I/usr/src/linux-2.4.19/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
-fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=athlon
-DMODULE -DMODVERSIONS -include
/usr/src/linux-2.4.19/include/linux/modversions.h -nostdinc -iwithprefix
include -DKBUILD_BASENAME=parport_pc -DEXPORT_SYMTAB -c parport_pc.c
make[2]: Leaving directory `/usr/src/linux-2.4.19/drivers/parport'
make -C pnp modules
make[2]: Entering directory `/usr/src/linux-2.4.19/drivers/pnp'
make[2]: Nothing to be done for `modules'.
make[2]: Leaving directory `/usr/src/linux-2.4.19/drivers/pnp'
make -C scsi modules
make[2]: Entering directory `/usr/src/linux-2.4.19/drivers/scsi'
ln -sf sim710.scr fake7.c
gcc296 -E -D__KERNEL__ -I/usr/src/linux-2.4.19/include -traditional
-DCHIP=710 fake7.c | grep -v '^#' | perl -s script_asm.pl -ncr710
script_asm.pl : Illegal combination of registers in line 72 : MOVE CTEST7
& 0xef TO CTEST7
Either source and destination registers must be the same,
or either source or destination register must be SFBR.
make[2]: *** [sim710_d.h] Error 255
make[2]: Leaving directory `/usr/src/linux-2.4.19/drivers/scsi'
make[1]: *** [_modsubdir_scsi] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.19/drivers'
make: *** [_mod_drivers] Error 2
--
// Andrew MacKenzie | http://www.edespot.com
// Sleep: n. slEp
// A completely inadequate substitute for caffeine.
msg91643/pgp00000.pgp
Description: PGP signature
