This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[patch] Disabling fixproto for Darwin?
- From: neroden at twcny dot rr dot com (Nathanael Nerode)
- To: gcc-patches at gcc dot gnu dot org
- Date: Sat, 27 Sep 2003 05:45:10 -0400
- Subject: [patch] Disabling fixproto for Darwin?
I'm totally guessing that Darwin has C89 headers rather than K&R headers.
Could a Darwin maintainer please try this patch and see if everything keeps
working? Or just say "Yes, we have C89 headers"?
Index: config.gcc
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config.gcc,v
retrieving revision 1.384
diff -u -r1.384 config.gcc
--- config.gcc 26 Sep 2003 22:13:33 -0000 1.384
+++ config.gcc 27 Sep 2003 09:44:21 -0000
@@ -878,6 +878,7 @@
;;
i[34567]86-*-darwin*)
tm_file="${tm_file} i386/darwin.h"
+ use_fixproto=no
;;
i[34567]86-*-elf*)
tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h i386/i386elf.h"
@@ -1617,6 +1618,7 @@
extra_headers=altivec.h
# override ppc default
need_64bit_hwint=
+ use_fixproto=no
;;
powerpc*-*-freebsd*)
tm_file="${tm_file} dbxelf.h elfos.h ${fbsd_tm_file} rs6000/sysv4.h rs6000/freebsd.h"
--
Nathanael Nerode <neroden at gcc.gnu.org>
http://home.twcny.rr.com/nerode/neroden/fdl.html