darwin.h (SUBTARGET_OPTIONS): Add -mmacosx= option.
authorMatt Austern <austern@apple.com>
Mon, 23 Feb 2004 19:49:23 +0000 (19:49 +0000)
committerMatt Austern <austern@gcc.gnu.org>
Mon, 23 Feb 2004 19:49:23 +0000 (19:49 +0000)
commit4fd1ff2bdbb8623d8ddad845d54e924fa1767546
treeec0e8c8a55e2a939c639128d9ae80c15f5626f59
parent6f94dea7854dac34ce80692eed3c9b24f8cb8912
darwin.h (SUBTARGET_OPTIONS): Add -mmacosx= option.

* config/darwin.h (SUBTARGET_OPTIONS): Add -mmacosx= option.
(macosx_version_min_required): Declare global variable.
* config/darwin-protos.h (darwin_parse_macosx_version_name): Declare.
* config/darwin.c (macosx_version_min_required): Define variable.
(darwin_macosx_vers_tbl): Define. Table mapping text strings of
OS versions to numerical codes.
(darwin_parse_macosx_version_name): Define.  Parse -mmacosx=,
set macosx_version_min_required appropriately.
* config/i386/darwin.h (SUBTARGET_OVERRIDE_OPTIONS): Define.
Invoke darwin_parse_macosx_version_name.
* config/rs6000/darwin.h (SUBTARGET_OVERRIDE_OPTIONS): Add
darwin_parse_macosx_version_name to Darwin option handling.
* doc/invoke.texi (-mmacosx=): Document.

From-SVN: r78329
gcc/ChangeLog
gcc/config/darwin-protos.h
gcc/config/darwin.c
gcc/config/darwin.h
gcc/config/i386/darwin.h
gcc/config/rs6000/darwin.h
gcc/doc/invoke.texi