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]

Add Interix -posix option from specs to interix.opt


In preparation for the driver only accepting options listed in .opt
files, and not other options that simply happen to match some spec,
this patch adds the -posix option from i386/i386-interix.h and
i386/i386-interix3.h to interix.opt.  (Since GCC only supports one
Interix target - to be deprecated in 4.6 - the abstraction of having
four different Interix headers is pretty meaningless and does not seem
worth replicating through having multiple .opt files.)

This target does not build cc1 either before or after this patch,
which I've committed as a preapproved cleanup to an unmaintained
target.

2011-02-01  Joseph Myers  <joseph@codesourcery.com>

	* config/interix.opt (posix): New Driver option.

Index: gcc/config/interix.opt
===================================================================
--- gcc/config/interix.opt	(revision 169317)
+++ gcc/config/interix.opt	(working copy)
@@ -1,6 +1,6 @@
 ; Interix options.
 
-; Copyright (C) 2010
+; Copyright (C) 2010, 2011
 ; Free Software Foundation, Inc.
 ;
 ; This file is part of GCC.
@@ -30,4 +30,7 @@ Driver
 G
 Driver
 
+posix
+Driver
+
 ; This comment is to ensure we retain the blank line above.

-- 
Joseph S. Myers
joseph@codesourcery.com


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