This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [fixinc patch] Remove bogus special fixincludes for Interix
- From: "Douglas B Rupp" <rupp at gnat dot com>
- To: <gcc-patches at gcc dot gnu dot org>, <bkorb at gcc dot gnu dot org>,"Nathanael Nerode" <neroden at twcny dot rr dot com>
- Date: Tue, 8 Jul 2003 15:15:49 -0700
- Subject: Re: [fixinc patch] Remove bogus special fixincludes for Interix
- Organization: Ada Core Technologies, Inc
- References: <20030708220338.GA29704@doctormoo>
- Reply-to: "Douglas B Rupp" <rupp at gnat dot com>
Is there an easy way to test this without doing a build?
----- Original Message -----
From: "Nathanael Nerode" <neroden@twcny.rr.com>
To: <gcc-patches@gcc.gnu.org>; <bkorb@gcc.gnu.org>
Sent: Tuesday, July 08, 2003 3:03 PM
Subject: [fixinc patch] Remove bogus special fixincludes for Interix
> OK. alpha-*-interix* is not supported. i?86-*-interix* theoretically is.
> But the current fixincludes for interix is just wrong. Through careful
> examination of the code, I can say that there is never a stddef.h
> in the "include" directory when fixincludes is run by the GCC build. (The
> directory is cleared immediately prior.)
> And it's just dangerous to run this script outside that situation.
>
> This leaves some question as to whether to do no fixing for Interix, or
> to do it in the standard way. I propose doing it in the standard way,
> and if Interix users complain, dealing with it then. (I can't test this
> on Interix, obviously, but I'm guessing it will be an improvement over the
> current situation.)
>
> * fixinc/fixinc.interix: Remove.
> * fixinc/mkfixinc.sh: Remove special treatment of Interix.
>
> Index: mkfixinc.sh
> ===================================================================
> RCS file: /cvs/gcc/gcc/gcc/fixinc/mkfixinc.sh,v
> retrieving revision 1.49
> diff -u -r1.49 mkfixinc.sh
> --- mkfixinc.sh 8 Jul 2003 05:49:59 -0000 1.49
> +++ mkfixinc.sh 8 Jul 2003 21:58:01 -0000
> @@ -42,11 +42,6 @@
> fixincludes=fixinc.svr4
> ;;
>
> - i?86-*-interix* | \
> - alpha-*-interix*)
> - fixincludes=fixinc.interix
> - ;;
> -
> i?86-*-openbsd*)
> fixincludes=fixinc.wrap
> ;;
> Index: fixinc.interix
> ===================================================================
> RCS file: fixinc.interix
> diff -N fixinc.interix
> --- fixinc.interix 13 Mar 2003 03:01:25 -0000 1.4
> +++ /dev/null 1 Jan 1970 00:00:00 -0000
> @@ -1,3 +0,0 @@
> -#!/bin/sh
> -rm -f include/stddef.h
> -exit
>
> --
> Nathanael Nerode <neroden at gcc.gnu.org>
> http://home.twcny.rr.com/nerode/neroden/fdl.html