[PATCH] Remove -remap from cygwin cpp specs

Billinghurst, David (CRTS) David.Billinghurst@riotinto.com
Tue Aug 1 23:36:00 GMT 2000


The new tradcpp does not accept -remap, so cannot preprocess fortran files.
This was discussed on gcc-bugs a couple of weeks ago, and the concencus was
that it isn't needed for cygwin.  Bootstraps on i686-pc-cygwin (and
mips-sgi-irix6.5).

+++++++++++++++++++++++++++++++++++++++++
(Mr) David Billinghurst
Comalco Research Centre
PO Box 316, Thomastown, Vic, Australia, 3074
Phone:	+61 3 9469 0642
FAX:	+61 3 9462 2700
Email:	David.Billinghurst@riotinto.com



--- gcc/config/i386/cygwin.h.orig	Tue Jun 27 12:26:19 2000
+++ gcc/config/i386/cygwin.h	Tue Aug  1 11:44:47 2000
@@ -84,7 +84,7 @@
                                  %{mno-cygwin:crt1%O%s} %{pg:gcrt0%O%s}}"
 
 #undef CPP_SPEC
-#define CPP_SPEC "-remap %(cpp_cpu) %{posix:-D_POSIX_SOURCE} \
+#define CPP_SPEC "%(cpp_cpu) %{posix:-D_POSIX_SOURCE} \
   -D__stdcall=__attribute__((__stdcall__)) \
   -D__cdecl=__attribute__((__cdecl__)) \
   %{!ansi:-D_stdcall=__attribute__((__stdcall__)) \







More information about the Gcc-patches mailing list