This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: GCC configration patch


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Friday 30 May 2003 22:56, Matt Kraai wrote:
> On Fri, May 30, 2003 at 10:33:32PM +0200, Uwe Stieber wrote:
> > Index: gcc/config.gcc
> > ===================================================================
> > RCS file: /cvsroot/gcc/gcc/gcc/config.gcc,v
> > retrieving revision 1.304
> > diff -c -3 -p -r1.304 config.gcc
> > *************** sh-*-elf* | sh[2346l]*-*-elf*)
> > *** 1760,1765 ****
> > --- 1776,1782 ----
> >   	esac
> >   	case $machine in
> >   	sh[234]*) tmake_file="${tmake_file} sh/t-monolib" ;;
> > + 	sh*-*-kaos*) tm_file="${tm_file} kaos.h sh/kaos-sh.h" ;;
> >   	esac
> >   	;;
> >   sh-*-rtemself*)
>
> This will not change tm_file for sh[234]*-*-kaos*.  Is that intended?

Well, that's not intended. It should update tm_file in all cases sh*-*-kaos* 
without disturbing the existing configurations. Thanks for the hint. I 
updated the config.gcc patch to move sh*-*-kaos* in a separate case 
statement.

Best regards,

- -- 
Uwe Stieber
mailto: uwe@kaos-group.de
web: http://www.kaos-group.de

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQE+2GE2ib4ivFO88S0RAk67AJ9taUr8QXrXpZmbS4hbLB6r/dSF6QCgqGAX
a+wwst7VowLdHJPZSQO3Me4=
=FsLa
-----END PGP SIGNATURE-----
Index: gcc/config.gcc
===================================================================
RCS file: /cvsroot/gcc/gcc/gcc/config.gcc,v
retrieving revision 1.304
diff -c -3 -p -r1.304 config.gcc
*** gcc/config.gcc	28 May 2003 21:06:19 -0000	1.304
--- gcc/config.gcc	31 May 2003 07:56:40 -0000
*************** arm-*-pe*)
*** 692,697 ****
--- 692,701 ----
  	tmake_file=arm/t-pe
  	extra_objs="pe.o"
  	;;
+ arm*-*-kaos*)
+ 	tm_file="dbxelf.h elfos.h arm/unknown-elf.h arm/elf.h arm/aout.h arm/arm.h kaos.h arm/kaos-arm.h"
+ 	tmake_file=arm/t-arm-elf
+ 	;;
  avr-*-*)
  	;;
  c4x-*-rtems* | tic4x-*-rtems*)
*************** i[34567]86-*-interix*)
*** 1190,1195 ****
--- 1194,1203 ----
  		tm_file="${tm_file} dbxcoff.h"
  	fi
  	;;
+ i[34567]86-*-kaos*)
+ 	tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h i386/i386elf.h kaos.h i386/kaos-i386.h"
+ 	tmake_file="i386/t-i386elf t-svr4"
+ 	;;
  i960-*-coff*)
  	tm_file="${tm_file} dbxcoff.h i960/i960-coff.h libgloss.h"
  	tmake_file=i960/t-960bare
*************** powerpcle-*-eabi*)
*** 1692,1697 ****
--- 1700,1713 ----
  	tm_file="${tm_file} dbxelf.h elfos.h svr4.h freebsd-spec.h rs6000/sysv4.h rs6000/sysv4le.h rs6000/eabi.h"
  	tmake_file="rs6000/t-fprules rs6000/t-ppcgas rs6000/t-ppccomm"
  	;;
+ powerpc-*-kaos*)
+ 	tm_file="${tm_file} dbxelf.h elfos.h svr4.h freebsd-spec.h rs6000/sysv4.h kaos.h rs6000/kaos-ppc.h"
+ 	tmake_file="rs6000/t-fprules rs6000/t-ppcgas rs6000/t-ppccomm"
+ 	;;
+ powerpcle-*-kaos*)
+ 	tm_file="${tm_file} dbxelf.h elfos.h svr4.h freebsd-spec.h rs6000/sysv4.h rs6000/sysv4le.h kaos.h rs6000/kaos-ppc.h"
+ 	tmake_file="rs6000/t-fprules rs6000/t-ppcgas rs6000/t-ppccomm"
+ 	;;
  rs6000-ibm-aix4.[12]* | powerpc-ibm-aix4.[12]*)
  	tm_file="${tm_file} rs6000/aix.h rs6000/aix41.h rs6000/xcoff.h"
  	tmake_file="rs6000/t-fprules rs6000/t-newas"
*************** s390x-*-linux*)
*** 1736,1742 ****
  	out_file=s390/s390.c
  	tmake_file="t-slibgcc-elf-ver t-linux s390/t-crtstuff s390/t-linux64"
  	;;
! sh-*-elf* | sh[2346l]*-*-elf*)
  	tmake_file="sh/t-sh sh/t-elf"
  	case $machine in
  	shl* | sh64l*)
--- 1752,1758 ----
  	out_file=s390/s390.c
  	tmake_file="t-slibgcc-elf-ver t-linux s390/t-crtstuff s390/t-linux64"
  	;;
! sh-*-elf* | sh[2346l]*-*-elf* | sh*-*-kaos*)
  	tmake_file="sh/t-sh sh/t-elf"
  	case $machine in
  	shl* | sh64l*)
*************** sh-*-elf* | sh[2346l]*-*-elf*)
*** 1761,1766 ****
--- 1777,1785 ----
  	case $machine in
  	sh[234]*) tmake_file="${tmake_file} sh/t-monolib" ;;
  	esac
+ 	case $machine in
+ 	sh*-*-kaos*) tm_file="${tm_file} kaos.h sh/kaos-sh.h" ;;
+ 	esac
  	;;
  sh-*-rtemself*)
  	tmake_file="sh/t-sh sh/t-elf t-rtems"
*************** strongarm-*-pe)
*** 2011,2016 ****
--- 2030,2042 ----
  	md_file=arm/arm.md
  	extra_modes=arm/arm-modes.def
  	extra_objs=pe.o
+ 	;;
+ strongarm-*-kaos*)
+ 	tm_file="arm/strongarm-elf.h dbxelf.h elfos.h arm/unknown-elf.h arm/elf.h arm/aout.h arm/arm.h kaos.h arm/kaos-strongarm.h"
+ 	tmake_file=arm/t-strongarm-elf
+ 	out_file=arm/arm.c
+ 	md_file=arm/arm.md
+ 	extra_modes=arm/arm-modes.def
  	;;
  v850e-*-*)
  	target_cpu_default="TARGET_CPU_v850e"

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]