1; Cygwin- and MinGW-specific options.
2
3; Copyright (C) 2005-2020 Free Software Foundation, Inc.
4;
5; This file is part of GCC.
6;
7; GCC is free software; you can redistribute it and/or modify it under
8; the terms of the GNU General Public License as published by the Free
9; Software Foundation; either version 3, or (at your option) any later
10; version.
11;
12; GCC is distributed in the hope that it will be useful, but WITHOUT ANY
13; WARRANTY; without even the implied warranty of MERCHANTABILITY or
14; FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
15; for more details.
16;
17; You should have received a copy of the GNU General Public License
18; along with GCC; see the file COPYING3.  If not see
19; <http://www.gnu.org/licenses/>.
20
21mconsole
22Target RejectNegative
23Create console application.
24
25mdll
26Target RejectNegative
27Generate code for a DLL.
28
29mnop-fun-dllimport
30Target Report Var(TARGET_NOP_FUN_DLLIMPORT)
31Ignore dllimport for functions.
32
33mthreads
34Target RejectNegative
35Use Mingw-specific thread support.
36
37mwin32
38Target
39Set Windows defines.
40
41mwindows
42Target
43Create GUI application.
44
45mpe-aligned-commons
46Target Var(use_pe_aligned_common) Init(HAVE_GAS_ALIGNED_COMM)
47Use the GNU extension to the PE format for aligned common data.
48
49muse-libstdc-wrappers
50Target Condition({defined (USE_CYGWIN_LIBSTDCXX_WRAPPERS)})
51Compile code that relies on Cygwin DLL wrappers to support C++ operator new/delete replacement.
52
53fset-stack-executable
54Common Report Var(flag_setstackexecutable) Init(1) Optimization
55For nested functions on stack executable permission is set.
56
57posix
58Driver
59
60fwritable-relocated-rdata
61Common Report Var(flag_writable_rel_rdata) Init(0)
62Put relocated read-only data into .data section.
63
64; Retain blank line above
65