From: NIIBE Y. <gn...@m1...> - 2001-08-24 23:28:14
|
NIIBE Yutaka wrote: > I've put my testing version to: > ftp://ftp.m17n.org/pub/linux-sh/testing/ > > Sorry, this time, it's only for Debian. The patch for GCC 3.0.1 > includes -mno-fdiv-divsi switch. > > I'm currently building glibc 2.2.4 with this tool-chain. The version I put yesterday was bad. I uploaded good version now. With it, I've tested to compile glibc 2.2.4 for all four configurations (sh3, sh4, sh4eb, sh3eb) and kernel for DC. Here's the patch for new tool chain. Well, I'd like to commit this change, say, a month later, after we test GCC 3.0. * arch/sh/Makefile (CFLAGS): Use -mno-fdiv-divsi. Don't use -m4-nofpu. Index: arch/sh/Makefile =================================================================== RCS file: /cvsroot/linuxsh/kernel/arch/sh/Makefile,v retrieving revision 1.20 diff -u -r1.20 Makefile --- arch/sh/Makefile 2001/07/28 04:02:00 1.20 +++ arch/sh/Makefile 2001/08/24 22:22:23 @@ -46,8 +46,8 @@ AFLAGS += -m3 endif ifdef CONFIG_CPU_SH4 -CFLAGS += -m4-nofpu -AFLAGS += -m4-nofpu +CFLAGS += -m4 -mno-fdiv-divsi +AFLAGS += -m4 -mno-fdiv-divsi endif # -- |