Use -Wl,--large-address-aware on Windows so that we can use more that 2 GB

2008-07-17  Tor Lillqvist  <tml@novell.com>

	* app/Makefile.am (win32_ldflags): Use -Wl,--large-address-aware
	on Windows so that we can use more that 2 GB user data space (if
	available; i.e. if running on a 64-bit OS, or a 32-bit OS booted
	with /3GB). See discussion in bug #522073.


svn path=/trunk/; revision=26220
This commit is contained in:
Tor Lillqvist 2008-07-17 11:34:19 +00:00 committed by Tor Lillqvist
parent 31f160cc00
commit 3c9234d5ba
2 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,10 @@
2008-07-17 Tor Lillqvist <tml@novell.com>
* app/Makefile.am (win32_ldflags): Use -Wl,--large-address-aware
on Windows so that we can use more that 2 GB user data space (if
available; i.e. if running on a 64-bit OS, or a 32-bit OS booted
with /3GB). See discussion in bug #522073.
2008-07-17 Sven Neumann <sven@gimp.org>
* libgimp/gimpui.c: improved the documentation of gimpui_init().

View File

@ -69,7 +69,7 @@ EXTRA_DIST = \
wilber.ico
if OS_WIN32
mwindows = -mwindows
win32_ldflags = -mwindows -Wl,--large-address-aware
endif
if USE_BINRELOC
@ -102,7 +102,7 @@ AM_LDFLAGS = \
-u $(SYMPREFIX)gimp_image_map_config_get_type \
-u $(SYMPREFIX)gimp_plug_in_manager_restore
gimp_2_5_LDFLAGS = $(AM_LDFLAGS) $(mwindows)
gimp_2_5_LDFLAGS = $(AM_LDFLAGS) $(win32_ldflags)
gimp_2_5_LDADD = \
gui/libappgui.a \