Add Interix -posix option from specs to interix.opt

Message ID
State New
Headers show

Commit Message

Joseph Myers Feb. 1, 2011, 10:24 p.m.
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

2011-02-01  Joseph Myers  <>

	* 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
 ; This comment is to ensure we retain the blank line above.