diff options
author | Alexandre Oliva <oliva@adacore.com> | 2018-10-12 20:11:27 +0000 |
---|---|---|
committer | Alexandre Oliva <aoliva@gcc.gnu.org> | 2018-10-12 20:11:27 +0000 |
commit | 67aeaded2f8dabe16b4879261c6b6ddda6b53cd2 (patch) | |
tree | 2c0666d5a96feaaa414d864ef835106a6dc116ac /gcc/doc | |
parent | 9e41e97531b6fe141ca2f35839f4f1d45f47170e (diff) | |
download | gcc-67aeaded2f8dabe16b4879261c6b6ddda6b53cd2.zip gcc-67aeaded2f8dabe16b4879261c6b6ddda6b53cd2.tar.gz gcc-67aeaded2f8dabe16b4879261c6b6ddda6b53cd2.tar.bz2 |
introduce --enable-large-address-aware
Add a configure knob for mingw32 and 64 toolchains to default passing
--large-address-aware to the linker, when creating 32-bit binaries.
-Wl,--disable-large-address-aware can still reverse its effects.
for gcc/ChangeLog
* configure.ac: Introduce --enable-large-address-aware
to define MINGW_DEFAULT_LARGE_ADDR_AWARE.
* doc/install.texi: Document it.
* configure, config.in: Rebuilt.
* config/i386/mingw32.h (LINK_SPEC_LARGE_ADDR_AWARE): Define,
based on MINGW_DEFAULT_LARGE_ADDR_AWARE.
(LINK_SPEC): Insert it.
* config/i386/mingw-264.h: Likewise.
From-SVN: r265130
Diffstat (limited to 'gcc/doc')
-rw-r--r-- | gcc/doc/install.texi | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc/doc/install.texi b/gcc/doc/install.texi index 9302251..6dd21bb 100644 --- a/gcc/doc/install.texi +++ b/gcc/doc/install.texi @@ -1734,6 +1734,14 @@ Using the GNU Compiler Collection (GCC)}, See ``i386 and x86-64 Options'' in the main manual @end ifhtml +@item --enable-large-address-aware +The @option{--enable-large-address-aware} option arranges for MinGW +executables to be linked using the @option{--large-address-aware} +option, that enables the use of more than 2GB of memory. If GCC is +configured with this option, its effects can be reversed by passing the +@option{-Wl,--disable-large-address-aware} option to the so-configured +compiler driver. + @item --enable-win32-registry @itemx --enable-win32-registry=@var{key} @itemx --disable-win32-registry |