Commit graph

157 commits

Author SHA1 Message Date
anders_k
523b810377 Another Python fix
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7215 212acab6-be3b-0410-9dea-997c60f758d6
2020-08-12 23:27:03 +00:00
anders_k
d62a4a6a21 Don't let GCC 10 generate memmove calls (bug #1248)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7189 212acab6-be3b-0410-9dea-997c60f758d6
2020-06-27 23:18:45 +00:00
anders_k
7e2be76681 Primitive SOURCE_DATE_EPOCH support for reproducible builds (patches 294)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7188 212acab6-be3b-0410-9dea-997c60f758d6
2020-06-26 22:52:09 +00:00
anders_k
d8eb1c60bb Port SCons scripts to py3k (xantares/py3k PR)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7124 212acab6-be3b-0410-9dea-997c60f758d6
2019-10-06 16:15:14 +00:00
anders_k
a81a90ec25 Auto-detection of 64 bit mingw-w64 on non-windows platforms (Patch #293)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7094 212acab6-be3b-0410-9dea-997c60f758d6
2019-04-18 21:36:47 +00:00
anders_k
fc8c70f856 Don't store coffgrp LTCG/POGO debug data in VS2015+ release builds
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7002 212acab6-be3b-0410-9dea-997c60f758d6
2018-06-03 23:53:51 +00:00
anders_k
460b3f59a9 Initial groundwork for ARM64 support
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7001 212acab6-be3b-0410-9dea-997c60f758d6
2018-06-03 21:00:53 +00:00
anders_k
7ccd6b3c9f Handle case where MSPE.ReadCharacteristics is None
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6945 212acab6-be3b-0410-9dea-997c60f758d6
2017-10-29 22:36:47 +00:00
anders_k
bde2173193 Only print the PE flags string for actual PE executable files. Now also zeros the checksum just in case.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6943 212acab6-be3b-0410-9dea-997c60f758d6
2017-10-26 16:37:42 +00:00
anders_k
590bb32e43 Plug-ins now set the ASLR, DEP, LAA and NOSEH flags (bug #1188)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6942 212acab6-be3b-0410-9dea-997c60f758d6
2017-10-25 23:11:56 +00:00
kichik
55cb9be2be more
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6922 212acab6-be3b-0410-9dea-997c60f758d6
2017-10-06 19:30:20 +00:00
kichik
80bc65beb1 support python 3 for building
python 2.6 is no longer supported

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6921 212acab6-be3b-0410-9dea-997c60f758d6
2017-10-06 18:23:05 +00:00
kichik
a525a42a04 more mingw versions https://github.com/kichik/nsis/pull/5/
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6784 212acab6-be3b-0410-9dea-997c60f758d6
2016-09-30 23:32:40 +00:00
f0rt
25dac3a5e9 Make plugins not depend on libstdc++-6.dll (Patch #272)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6782 212acab6-be3b-0410-9dea-997c60f758d6
2016-08-22 19:22:45 +00:00
anders_k
2a341bc918 Better NSIS Menu .manifest requirement detection
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6631 212acab6-be3b-0410-9dea-997c60f758d6
2015-11-03 23:28:08 +00:00
anders_k
d0ddb4aab0 Actually specify a petype this time
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6610 212acab6-be3b-0410-9dea-997c60f758d6
2015-09-18 17:44:12 +00:00
anders_k
654dce730b All GCC stub targets use the same PE switch now
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6609 212acab6-be3b-0410-9dea-997c60f758d6
2015-09-18 17:42:04 +00:00
anders_k
286edd20c4 * Basic System::Call support when compiling with 64-bit MinGW/GCC toolchain
* Win64 fixes


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6607 212acab6-be3b-0410-9dea-997c60f758d6
2015-09-17 14:30:07 +00:00
f0rt
15b35daa34 #261 applied stdcall calling convention for a target platform other than Windows.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6586 212acab6-be3b-0410-9dea-997c60f758d6
2015-06-24 19:23:17 +00:00
kichik
b9d125c881 only use /FIXED for stubs and especially not for DLLs
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6570 212acab6-be3b-0410-9dea-997c60f758d6
2014-12-04 07:15:01 +00:00
kichik
9c2604e44d need /FIXED for VS2010 as well
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6568 212acab6-be3b-0410-9dea-997c60f758d6
2014-10-30 03:13:08 +00:00
kichik
59bdbf2614 fix gcc build
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6543 212acab6-be3b-0410-9dea-997c60f758d6
2014-10-05 21:04:19 +00:00
kichik
758fcd8ce6 fixed vs2012 builds
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6542 212acab6-be3b-0410-9dea-997c60f758d6
2014-10-05 20:55:20 +00:00
anders_k
b7630502dc Print gcc & g++ version when using the gnu config
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6532 212acab6-be3b-0410-9dea-997c60f758d6
2014-07-19 21:24:28 +00:00
anders_k
d43e3a717c mstoolkit toolchain should use the VC toolkit linker by default. link.exe can even stand in for lib.exe if required
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6504 212acab6-be3b-0410-9dea-997c60f758d6
2014-06-23 19:15:59 +00:00
anders_k
da7d67e69d CreateShortCut > CreateShortcut
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6453 212acab6-be3b-0410-9dea-997c60f758d6
2014-03-28 16:21:39 +00:00
anders_k
a7076ff238 Basic AMD64 System::Call support
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6444 212acab6-be3b-0410-9dea-997c60f758d6
2014-03-03 18:10:53 +00:00
anders_k
07183c43a9 Prevent MSVC 14.00.40310 from generating a recursive call to memset
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6442 212acab6-be3b-0410-9dea-997c60f758d6
2014-02-09 23:12:52 +00:00
anders_k
d799ee53d7 Basic Win64 support (MSVC)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6439 212acab6-be3b-0410-9dea-997c60f758d6
2014-02-08 00:13:52 +00:00
kichik
410b1b7a7a avoid warnings about stdcall being ignored
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6434 212acab6-be3b-0410-9dea-997c60f758d6
2014-02-02 00:36:13 +00:00
anders_k
9b3a98a07f mstoolkit.py now supports MSVC_USE_SCRIPT=None to import VC and SDK paths from environment variables
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6428 212acab6-be3b-0410-9dea-997c60f758d6
2014-01-21 14:21:26 +00:00
anders_k
52a8b320ef POSIX fixes for native and crossplatform utils
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6427 212acab6-be3b-0410-9dea-997c60f758d6
2014-01-21 14:13:00 +00:00
anders_k
be6c7e6a1d Major POSIX overhaul
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6416 212acab6-be3b-0410-9dea-997c60f758d6
2013-12-08 14:34:38 +00:00
kichik
75405adb9d fix mingw env for unicode too
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6296 212acab6-be3b-0410-9dea-997c60f758d6
2013-03-13 08:22:56 +00:00
kichik
6d71b946e3 tdefenv must be defined after defenv is ready
this caused tdefenv (and therefore util_env) not to contain the right pointers to libcp.lib

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6282 212acab6-be3b-0410-9dea-997c60f758d6
2012-11-11 04:33:52 +00:00
kichik
cc12f76610 not sure how this ever worked, but it's LIBPATH that needs to be modified and LIB in the OS environment
maybe older versions of scons read LIB after environment construction too?

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6270 212acab6-be3b-0410-9dea-997c60f758d6
2012-10-15 02:34:25 +00:00
anders_k
7cc150c464 MakeNSIS can now generate Unicode or Ansi installers based on a script attribute. SCons generates both Ansi and Unicode stubs and plugins.
The official plugins are now stored in architecture specific subdirectories under NSIS\Plugins. !AddPluginDir also gained a new (optional) architecture flag because MakeNSIS now stores separate plugin information for each target architecture. Storing plugins in the root of the Plugins directory is no longer supported.

MinGW does not implement the unicode CRT startup functions so the entry point functions and linker parameters had to be changed. The unicode tools use the ansi entry point and a small helper function that calls into the real code: _tmain has full argc+argv emulation while wWinMain does not pass the command line parameters. The stubs do not use any CRT functions and have no CRT or unicode helper code, they call our entry point directly.



git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6269 212acab6-be3b-0410-9dea-997c60f758d6
2012-10-13 01:47:50 +00:00
anders_k
f2e3e13a0e MinGW: Don't link to LIBGCC*.DLL and LIBSTDC++-*.DLL
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6261 212acab6-be3b-0410-9dea-997c60f758d6
2012-09-11 00:53:50 +00:00
golubdr
667a2c8cae Fix indentation.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6256 212acab6-be3b-0410-9dea-997c60f758d6
2012-08-22 23:39:06 +00:00
golubdr
957653f389 Use appropriate zlib DLL depending on version.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6255 212acab6-be3b-0410-9dea-997c60f758d6
2012-08-22 23:32:05 +00:00
kichik
44f0a9e9e9 document the weird workaround
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6173 212acab6-be3b-0410-9dea-997c60f758d6
2011-11-15 23:12:24 +00:00
f0rt
737a5c8468 Allow building with a specific win32 targeted cross compiler (#3305366)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6156 212acab6-be3b-0410-9dea-997c60f758d6
2011-06-25 19:29:38 +00:00
anders_k
fd1febb2f0 Fixes for MinGW (substart and system.dll still broken)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6154 212acab6-be3b-0410-9dea-997c60f758d6
2011-06-15 22:48:02 +00:00
f0rt
b39f193c31 Avoid a clash when scons is run in parallel operation (#3295528)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6151 212acab6-be3b-0410-9dea-997c60f758d6
2011-05-02 19:32:12 +00:00
kichik
2ef166a970 vc 10 doesn't like /opt:nowin98 or even /align:512
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6128 212acab6-be3b-0410-9dea-997c60f758d6
2010-11-13 21:13:49 +00:00
wizou
57f7ff8a1c Unicode port: Unicode version of NSIS can now generate both ANSI & Unicode installers (using new instruction UnicodeInstaller on/off).
Stubs & Plugins differentiation is done automatically using a 'W' suffix.
SConscripts need to be reviewed to generate both variants of Plugins & pluginapi.lib under Unicode compilation.

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6100 212acab6-be3b-0410-9dea-997c60f758d6
2010-06-14 10:07:22 +00:00
kichik
fcb399fce0 workaround for platform sdk problems with scons 1.3.0
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6062 212acab6-be3b-0410-9dea-997c60f758d6
2010-04-17 22:58:47 +00:00
kichik
8563f508c5 fixed nightly build
7.1... 7.1... not 8. what just happened here?

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6061 212acab6-be3b-0410-9dea-997c60f758d6
2010-04-17 21:42:29 +00:00
kichik
4af4fa9c73 fixed nightly build
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6060 212acab6-be3b-0410-9dea-997c60f758d6
2010-04-17 21:20:18 +00:00
wizou
cefeec3676 Additional error checking by Jim Park.
Also some cleaning.

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6058 212acab6-be3b-0410-9dea-997c60f758d6
2010-04-15 12:11:06 +00:00