Commit 46994828 by Kai Tietz Committed by Kai Tietz

invoke.texi (-mconsole): New.

2009-03-25  Kai Tietz  <kai.tietz@onevision.com>

        PR/39518
        * doc/invoke.texi (-mconsole): New.
        (-mcygwin): New.
        (-mno-cygwin): New.
        (-mdll): New.
        (-mnop-fun-dllimport): New.
        (-mthread): New.
        (-mwin32): New.
        (-mwindows): New.
        (sub section "i386 and x86-64 Windows Options"): New.

From-SVN: r145070
parent 4ba8a4cb
2009-03-25 Kai Tietz <kai.tietz@onevision.com>
PR/39518
* doc/invoke.texi (-mconsole): New.
(-mcygwin): New.
(-mno-cygwin): New.
(-mdll): New.
(-mnop-fun-dllimport): New.
(-mthread): New.
(-mwin32): New.
(-mwindows): New.
(sub section "i386 and x86-64 Windows Options"): New.
2009-03-25 Ralf Corsépius <ralf.corsepius@rtems.org> 2009-03-25 Ralf Corsépius <ralf.corsepius@rtems.org>
* config/arm/rtems-elf.h: Remove LINK_GCC_C_SEQUENCE_SPEC. * config/arm/rtems-elf.h: Remove LINK_GCC_C_SEQUENCE_SPEC.
......
...@@ -826,6 +826,10 @@ See RS/6000 and PowerPC Options. ...@@ -826,6 +826,10 @@ See RS/6000 and PowerPC Options.
@emph{x86-64 Options} @emph{x86-64 Options}
See i386 and x86-64 Options. See i386 and x86-64 Options.
@emph{i386 and x86-64 Windows Options}
@gccoptlist{-mconsole -mcygwin -mno-cygwin -mdll
-mnop-fun-dllimport -mthread -mwin32 -mwindows}
@emph{Xstormy16 Options} @emph{Xstormy16 Options}
@gccoptlist{-msim} @gccoptlist{-msim}
...@@ -8827,6 +8831,7 @@ platform. ...@@ -8827,6 +8831,7 @@ platform.
* H8/300 Options:: * H8/300 Options::
* HPPA Options:: * HPPA Options::
* i386 and x86-64 Options:: * i386 and x86-64 Options::
* i386 and x86-64 Windows Options::
* IA-64 Options:: * IA-64 Options::
* M32C Options:: * M32C Options::
* M32R/D Options:: * M32R/D Options::
...@@ -9140,10 +9145,6 @@ long_calls_off} directive. Note these switches have no effect on how ...@@ -9140,10 +9145,6 @@ long_calls_off} directive. Note these switches have no effect on how
the compiler generates code to handle function calls via function the compiler generates code to handle function calls via function
pointers. pointers.
@item -mnop-fun-dllimport
@opindex mnop-fun-dllimport
Disable support for the @code{dllimport} attribute.
@item -msingle-pic-base @item -msingle-pic-base
@opindex msingle-pic-base @opindex msingle-pic-base
Treat the register used for PIC addressing as read-only, rather than Treat the register used for PIC addressing as read-only, rather than
...@@ -15470,6 +15471,71 @@ is defined for compatibility with Diab. ...@@ -15470,6 +15471,71 @@ is defined for compatibility with Diab.
These are listed under @xref{i386 and x86-64 Options}. These are listed under @xref{i386 and x86-64 Options}.
@node i386 and x86-64 Windows Options
@subsection i386 and x86-64 Windows Options
@cindex i386 and x86-64 Windows Options
These additional options are available for Windows targets:
@table @gcctabopt
@item -mconsole
@opindex mconsole
This option is available for Cygwin and MinGW targets. It
specifies that a console application is to be generated, by
instructing the linker to set the PE header subsystem type
required for console applications.
This is the default behaviour for Cygwin and MinGW targets.
@item -mcygwin
@opindex mcygwin
This option is available for Cygwin targets. It specifies that
the Cygwin internal interface is to be used for predefined
preprocessor macros, C runtime libraries and related linker
paths and options. For Cygwin targets this is the default behaviour.
This option is deprecated and will be removed in a future release.
@item -mno-cygwin
@opindex mno-cygwin
This option is available for Cygwin targets. It specifies that
the MinGW internal interface is to be used instead of Cygwin's, by
setting MinGW-related predefined macros and linker paths and default
library options.
This option is deprecated and will be removed in a future release.
@item -mdll
@opindex mdll
This option is available for Cygwin and MinGW targets. It
specifies that a DLL - a dynamic link library - is to be
generated, enabling the selection of the required runtime
startup object and entry point.
@item -mnop-fun-dllimport
@opindex mnop-fun-dllimport
This option is available for Cygwin and MinGW targets. It
specifies that the dllimport attribute should be ignored.
@item -mthread
@opindex mthread
This option is available for MinGW targets. It specifies
that MinGW-specific thread support is to be used.
@item -mwin32
@opindex mwin32
This option is available for Cygwin and MinGW targets. It
specifies that the typical Windows pre-defined macros are to
be set in the pre-processor, but does not influence the choice
of runtime library/startup code.
@item -mwindows
@opindex mwindows
This option is available for Cygwin and MinGW targets. It
specifies that a GUI application is to be generated by
instructing the linker to set the PE header subsystem type
appropriately.
@end table
See also under @xref{i386 and x86-64 Options} for standard options.
@node Xstormy16 Options @node Xstormy16 Options
@subsection Xstormy16 Options @subsection Xstormy16 Options
@cindex Xstormy16 Options @cindex Xstormy16 Options
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment