[Vm-dev] [commit][3020] Set the IMAGE_FILE_LARGE_ADDRESS_AWARE flag in the image header of the Windows

commits at squeakvm.org commits at squeakvm.org
Thu Jun 26 17:29:59 UTC 2014


Revision: 3020
Author:   eliot
Date:     2014-06-26 10:29:55 -0700 (Thu, 26 Jun 2014)
Log Message:
-----------
Set the IMAGE_FILE_LARGE_ADDRESS_AWARE flag in the image header of the Windows
executables to allow e.g. Spur to allocate more than 2Gb.
Set more ignore props on win build dirs.

Modified Paths:
--------------
    branches/Cog/build.win32x86/newspeak.cog.spur/Makefile
    branches/Cog/build.win32x86/newspeak.cog.v3/Makefile
    branches/Cog/build.win32x86/newspeak.stack.spur/Makefile
    branches/Cog/build.win32x86/newspeak.stack.v3/Makefile
    branches/Cog/build.win32x86/squeak.cog.spur/Makefile
    branches/Cog/build.win32x86/squeak.cog.v3/Makefile
    branches/Cog/build.win32x86/squeak.stack.spur/Makefile
    branches/Cog/build.win32x86/squeak.stack.v3/Makefile

Property Changed:
----------------
    branches/Cog/build.win32x86/newspeak.cog.spur/
    branches/Cog/build.win32x86/newspeak.cog.spur/installer/
    branches/Cog/build.win32x86/newspeak.cog.v3/
    branches/Cog/build.win32x86/newspeak.cog.v3/installer/
    branches/Cog/build.win32x86/newspeak.stack.spur/
    branches/Cog/build.win32x86/newspeak.stack.v3/
    branches/Cog/build.win32x86/squeak.cog.spur/
    branches/Cog/build.win32x86/squeak.cog.v3/
    branches/Cog/build.win32x86/squeak.stack.spur/
    branches/Cog/build.win32x86/squeak.stack.v3/
    branches/Cog/platforms/Cross/vm/sqSCCSVersion.h


Property changes on: branches/Cog/build.win32x86/newspeak.cog.spur
___________________________________________________________________
Modified: svn:ignore
   - build
buildast
builddbg
eitheror.exe
mkNamedPrims.exe
sqNamedPrims.h

   + build
buildast
builddbg
eitheror.exe
mkNamedPrims.exe
sqNamedPrims.h
LOG*


Modified: branches/Cog/build.win32x86/newspeak.cog.spur/Makefile
===================================================================
--- branches/Cog/build.win32x86/newspeak.cog.spur/Makefile	2014-06-25 22:55:09 UTC (rev 3019)
+++ branches/Cog/build.win32x86/newspeak.cog.spur/Makefile	2014-06-26 17:29:55 UTC (rev 3020)
@@ -141,10 +141,11 @@
 #		Newer cygwins want --export-all-symbols in place of --export-dynamic.
 #
 LD:=	 gcc
-LDFLAGS:= -mno-cygwin -mwindows -Wl,--export-dynamic -L/usr/lib/mingw
-CONSOLELDFLAGS:= -mno-cygwin -mconsole -Wl,--export-dynamic -L/usr/lib/mingw
-#LDFLAGS:= -mno-cygwin -mwindows -Wl,--export-all-symbols -L/usr/lib/mingw
-#CONSOLELDFLAGS:= -mno-cygwin -mconsole -Wl,--export-all-symbols -L/usr/lib/mingw
+EXPORT:=--export-dynamic
+#EXPORT:=--export-all-symbols
+BASELDFLAGS:=-mno-cygwin -mthreads -Wl,--large-address-aware,$(EXPORT) -L/usr/lib/mingw
+LDFLAGS:= -mwindows $(BASELDFLAGS)
+CONSOLELDFLAGS:= -mconsole $(BASELDFLAGS)
 STDLIBS:= -lddraw -ldinput -lopengl32 -lwsock32 -lcomdlg32 -lole32 -lwinmm \
 	-lversion -lwininet -luser32 -lgdi32 -lpsapi -lkernel32 -lcrtdll \
 	-ldsound -lsecur32


Property changes on: branches/Cog/build.win32x86/newspeak.cog.spur/installer
___________________________________________________________________
Added: svn:ignore
   + Binary
Control.idt.orig
Icon
files.???
nsvm.*
*.idt
*.msi
*.rtf
*.sources



Property changes on: branches/Cog/build.win32x86/newspeak.cog.v3
___________________________________________________________________
Modified: svn:ignore
   - build
buildast
builddbg
eitheror.exe
mkNamedPrims.exe
sqNamedPrims.h

   + build
buildast
builddbg
buildmt
buildmtast
buildmtdbg
eitheror.exe
mkNamedPrims.exe
sqNamedPrims.h
LOG*


Modified: branches/Cog/build.win32x86/newspeak.cog.v3/Makefile
===================================================================
--- branches/Cog/build.win32x86/newspeak.cog.v3/Makefile	2014-06-25 22:55:09 UTC (rev 3019)
+++ branches/Cog/build.win32x86/newspeak.cog.v3/Makefile	2014-06-26 17:29:55 UTC (rev 3020)
@@ -141,10 +141,11 @@
 #		Newer cygwins want --export-all-symbols in place of --export-dynamic.
 #
 LD:=	 gcc
-LDFLAGS:= -mno-cygwin -mwindows -Wl,--export-dynamic -L/usr/lib/mingw
-CONSOLELDFLAGS:= -mno-cygwin -mconsole -Wl,--export-dynamic -L/usr/lib/mingw
-#LDFLAGS:= -mno-cygwin -mwindows -Wl,--export-all-symbols -L/usr/lib/mingw
-#CONSOLELDFLAGS:= -mno-cygwin -mconsole -Wl,--export-all-symbols -L/usr/lib/mingw
+EXPORT:=--export-dynamic
+#EXPORT:=--export-all-symbols
+BASELDFLAGS:=-mno-cygwin -mthreads -Wl,--large-address-aware,$(EXPORT) -L/usr/lib/mingw
+LDFLAGS:= -mwindows $(BASELDFLAGS)
+CONSOLELDFLAGS:= -mconsole $(BASELDFLAGS)
 STDLIBS:= -lddraw -ldinput -lopengl32 -lwsock32 -lcomdlg32 -lole32 -lwinmm \
 	-lversion -lwininet -luser32 -lgdi32 -lpsapi -lkernel32 -lcrtdll \
 	-ldsound -lsecur32


Property changes on: branches/Cog/build.win32x86/newspeak.cog.v3/installer
___________________________________________________________________
Added: svn:ignore
   + Binary
Control.idt.orig
Icon
files.???
nsvm.*
*.idt
*.msi
*.rtf
*.sources



Property changes on: branches/Cog/build.win32x86/newspeak.stack.spur
___________________________________________________________________
Modified: svn:ignore
   - build
buildast
builddbg
eitheror.exe
mkNamedPrims.exe
sqNamedPrims.h

   + build
buildast
builddbg
eitheror.exe
mkNamedPrims.exe
sqNamedPrims.h
LOG*


Modified: branches/Cog/build.win32x86/newspeak.stack.spur/Makefile
===================================================================
--- branches/Cog/build.win32x86/newspeak.stack.spur/Makefile	2014-06-25 22:55:09 UTC (rev 3019)
+++ branches/Cog/build.win32x86/newspeak.stack.spur/Makefile	2014-06-26 17:29:55 UTC (rev 3020)
@@ -142,10 +142,11 @@
 #		Newer cygwins want --export-all-symbols in place of --export-dynamic.
 #
 LD:=	 gcc
-LDFLAGS:= -mno-cygwin -mwindows -Wl,--export-dynamic -L/usr/lib/mingw
-CONSOLELDFLAGS:= -mno-cygwin -mconsole -Wl,--export-dynamic -L/usr/lib/mingw
-#LDFLAGS:= -mno-cygwin -mwindows -Wl,--export-all-symbols -L/usr/lib/mingw
-#CONSOLELDFLAGS:= -mno-cygwin -mconsole -Wl,--export-all-symbols -L/usr/lib/mingw
+EXPORT:=--export-dynamic
+#EXPORT:=--export-all-symbols
+BASELDFLAGS:=-mno-cygwin -mthreads -Wl,--large-address-aware,$(EXPORT) -L/usr/lib/mingw
+LDFLAGS:= -mwindows $(BASELDFLAGS)
+CONSOLELDFLAGS:= -mconsole $(BASELDFLAGS)
 STDLIBS:= -lddraw -ldinput -lopengl32 -lwsock32 -lcomdlg32 -lole32 -lwinmm \
 	-lversion -lwininet -luser32 -lgdi32 -lpsapi -lkernel32 -lcrtdll \
 	-ldsound -lsecur32


Property changes on: branches/Cog/build.win32x86/newspeak.stack.v3
___________________________________________________________________
Modified: svn:ignore
   - build
buildast
builddbg
eitheror.exe
mkNamedPrims.exe
sqNamedPrims.h

   + build
buildast
builddbg
eitheror.exe
mkNamedPrims.exe
sqNamedPrims.h
LOG*


Modified: branches/Cog/build.win32x86/newspeak.stack.v3/Makefile
===================================================================
--- branches/Cog/build.win32x86/newspeak.stack.v3/Makefile	2014-06-25 22:55:09 UTC (rev 3019)
+++ branches/Cog/build.win32x86/newspeak.stack.v3/Makefile	2014-06-26 17:29:55 UTC (rev 3020)
@@ -142,10 +142,11 @@
 #		Newer cygwins want --export-all-symbols in place of --export-dynamic.
 #
 LD:=	 gcc
-LDFLAGS:= -mno-cygwin -mwindows -Wl,--export-dynamic -L/usr/lib/mingw
-CONSOLELDFLAGS:= -mno-cygwin -mconsole -Wl,--export-dynamic -L/usr/lib/mingw
-#LDFLAGS:= -mno-cygwin -mwindows -Wl,--export-all-symbols -L/usr/lib/mingw
-#CONSOLELDFLAGS:= -mno-cygwin -mconsole -Wl,--export-all-symbols -L/usr/lib/mingw
+EXPORT:=--export-dynamic
+#EXPORT:=--export-all-symbols
+BASELDFLAGS:=-mno-cygwin -mthreads -Wl,--large-address-aware,$(EXPORT) -L/usr/lib/mingw
+LDFLAGS:= -mwindows $(BASELDFLAGS)
+CONSOLELDFLAGS:= -mconsole $(BASELDFLAGS)
 STDLIBS:= -lddraw -ldinput -lopengl32 -lwsock32 -lcomdlg32 -lole32 -lwinmm \
 	-lversion -lwininet -luser32 -lgdi32 -lpsapi -lkernel32 -lcrtdll \
 	-ldsound -lsecur32


Property changes on: branches/Cog/build.win32x86/squeak.cog.spur
___________________________________________________________________
Modified: svn:ignore
   - build
buildast
builddbg
eitheror.exe
mkNamedPrims.exe
sqNamedPrims.h

   + build
buildast
builddbg
eitheror.exe
mkNamedPrims.exe
sqNamedPrims.h
LOG*


Modified: branches/Cog/build.win32x86/squeak.cog.spur/Makefile
===================================================================
--- branches/Cog/build.win32x86/squeak.cog.spur/Makefile	2014-06-25 22:55:09 UTC (rev 3019)
+++ branches/Cog/build.win32x86/squeak.cog.spur/Makefile	2014-06-26 17:29:55 UTC (rev 3020)
@@ -145,10 +145,11 @@
 #		Newer cygwins want --export-all-symbols in place of --export-dynamic.
 #
 LD:=	 gcc
-LDFLAGS:= -mno-cygwin -mwindows -mthreads -Wl,--export-dynamic -L/usr/lib/mingw
-CONSOLELDFLAGS:= -mno-cygwin -mconsole -mthreads -Wl,--export-dynamic -L/usr/lib/mingw
-#LDFLAGS:= -mno-cygwin -mwindows -mthreads -Wl,--export-all-symbols -L/usr/lib/mingw
-#CONSOLELDFLAGS:= -mno-cygwin -mconsole -mthreads -Wl,--export-all-symbols -L/usr/lib/mingw
+EXPORT:=--export-dynamic
+#EXPORT:=--export-all-symbols
+BASELDFLAGS:=-mno-cygwin -mthreads -Wl,--large-address-aware,$(EXPORT) -L/usr/lib/mingw
+LDFLAGS:= -mwindows $(BASELDFLAGS)
+CONSOLELDFLAGS:= -mconsole $(BASELDFLAGS)
 STDLIBS:= -lddraw -ldinput -lopengl32 -lwsock32 -lcomdlg32 -lole32 -lwinmm \
 	-lversion -lwininet -luser32 -lgdi32 -lpsapi -lkernel32 -lcrtdll \
 	-ldsound -lsecur32


Property changes on: branches/Cog/build.win32x86/squeak.cog.v3
___________________________________________________________________
Modified: svn:ignore
   - build
buildast
builddbg
eitheror.exe
mkNamedPrims.exe
sqNamedPrims.h

   + build
buildast
builddbg
buildmt
buildmtast
buildmtdbg
eitheror.exe
mkNamedPrims.exe
sqNamedPrims.h
LOG*


Modified: branches/Cog/build.win32x86/squeak.cog.v3/Makefile
===================================================================
--- branches/Cog/build.win32x86/squeak.cog.v3/Makefile	2014-06-25 22:55:09 UTC (rev 3019)
+++ branches/Cog/build.win32x86/squeak.cog.v3/Makefile	2014-06-26 17:29:55 UTC (rev 3020)
@@ -165,10 +165,11 @@
 #		Newer cygwins want --export-all-symbols in place of --export-dynamic.
 #
 LD:=	 gcc
-LDFLAGS:= -mno-cygwin -mwindows -mthreads -Wl,--export-dynamic -L/usr/lib/mingw
-CONSOLELDFLAGS:= -mno-cygwin -mconsole -mthreads -Wl,--export-dynamic -L/usr/lib/mingw
-#LDFLAGS:= -mno-cygwin -mwindows -mthreads -Wl,--export-all-symbols -L/usr/lib/mingw
-#CONSOLELDFLAGS:= -mno-cygwin -mconsole -mthreads -Wl,--export-all-symbols -L/usr/lib/mingw
+EXPORT:=--export-dynamic
+#EXPORT:=--export-all-symbols
+BASELDFLAGS:=-mno-cygwin -mthreads -Wl,--large-address-aware,$(EXPORT) -L/usr/lib/mingw
+LDFLAGS:= -mwindows $(BASELDFLAGS)
+CONSOLELDFLAGS:= -mconsole $(BASELDFLAGS)
 STDLIBS:= -lddraw -ldinput -lopengl32 -lwsock32 -lcomdlg32 -lole32 -lwinmm \
 	-lversion -lwininet -luser32 -lgdi32 -lpsapi -lkernel32 -lcrtdll \
 	-ldsound -lsecur32


Property changes on: branches/Cog/build.win32x86/squeak.stack.spur
___________________________________________________________________
Modified: svn:ignore
   - build
buildast
builddbg
eitheror.exe
mkNamedPrims.exe
sqNamedPrims.h

   + build
buildast
builddbg
eitheror.exe
mkNamedPrims.exe
sqNamedPrims.h
LOG*


Modified: branches/Cog/build.win32x86/squeak.stack.spur/Makefile
===================================================================
--- branches/Cog/build.win32x86/squeak.stack.spur/Makefile	2014-06-25 22:55:09 UTC (rev 3019)
+++ branches/Cog/build.win32x86/squeak.stack.spur/Makefile	2014-06-26 17:29:55 UTC (rev 3020)
@@ -146,10 +146,11 @@
 #		Newer cygwins want --export-all-symbols in place of --export-dynamic.
 #
 LD:=	 gcc
-LDFLAGS:= -mno-cygwin -mwindows -mthreads -Wl,--export-dynamic -L/usr/lib/mingw
-CONSOLELDFLAGS:= -mno-cygwin -mconsole -mthreads -Wl,--export-dynamic -L/usr/lib/mingw
-#LDFLAGS:= -mno-cygwin -mwindows -mthreads -Wl,--export-all-symbols -L/usr/lib/mingw
-#CONSOLELDFLAGS:= -mno-cygwin -mconsole -mthreads -Wl,--export-all-symbols -L/usr/lib/mingw
+EXPORT:=--export-dynamic
+#EXPORT:=--export-all-symbols
+BASELDFLAGS:=-mno-cygwin -mthreads -Wl,--large-address-aware,$(EXPORT) -L/usr/lib/mingw
+LDFLAGS:= -mwindows $(BASELDFLAGS)
+CONSOLELDFLAGS:= -mconsole $(BASELDFLAGS)
 STDLIBS:= -lddraw -ldinput -lopengl32 -lwsock32 -lcomdlg32 -lole32 -lwinmm \
 	-lversion -lwininet -luser32 -lgdi32 -lpsapi -lkernel32 -lcrtdll \
 	-ldsound -lsecur32


Property changes on: branches/Cog/build.win32x86/squeak.stack.v3
___________________________________________________________________
Modified: svn:ignore
   - build
buildast
builddbg
eitheror.exe
mkNamedPrims.exe
sqNamedPrims.h

   + build
buildast
builddbg
eitheror.exe
mkNamedPrims.exe
sqNamedPrims.h
LOG*


Modified: branches/Cog/build.win32x86/squeak.stack.v3/Makefile
===================================================================
--- branches/Cog/build.win32x86/squeak.stack.v3/Makefile	2014-06-25 22:55:09 UTC (rev 3019)
+++ branches/Cog/build.win32x86/squeak.stack.v3/Makefile	2014-06-26 17:29:55 UTC (rev 3020)
@@ -146,10 +146,11 @@
 #		Newer cygwins want --export-all-symbols in place of --export-dynamic.
 #
 LD:=	 gcc
-LDFLAGS:= -mno-cygwin -mwindows -mthreads -Wl,--export-dynamic -L/usr/lib/mingw
-CONSOLELDFLAGS:= -mno-cygwin -mconsole -mthreads -Wl,--export-dynamic -L/usr/lib/mingw
-#LDFLAGS:= -mno-cygwin -mwindows -mthreads -Wl,--export-all-symbols -L/usr/lib/mingw
-#CONSOLELDFLAGS:= -mno-cygwin -mconsole -mthreads -Wl,--export-all-symbols -L/usr/lib/mingw
+EXPORT:=--export-dynamic
+#EXPORT:=--export-all-symbols
+BASELDFLAGS:=-mno-cygwin -mthreads -Wl,--large-address-aware,$(EXPORT) -L/usr/lib/mingw
+LDFLAGS:= -mwindows $(BASELDFLAGS)
+CONSOLELDFLAGS:= -mconsole $(BASELDFLAGS)
 STDLIBS:= -lddraw -ldinput -lopengl32 -lwsock32 -lcomdlg32 -lole32 -lwinmm \
 	-lversion -lwininet -luser32 -lgdi32 -lpsapi -lkernel32 -lcrtdll \
 	-ldsound -lsecur32


Property changes on: branches/Cog/platforms/Cross/vm/sqSCCSVersion.h
___________________________________________________________________
Modified: checkindate
   - Wed Jun 25 14:06:14 PDT 2014
   + Thu Jun 26 10:23:30 PDT 2014



More information about the Vm-dev mailing list