1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-04 19:10:37 -08:00
Commit graph

9 commits

Author SHA1 Message Date
Richard Brooksby
325fbc0f15 Backing out changelist 187528 as it removed most of the flags from the c compiler command line on windows.
Copied from Perforce
 Change: 189253
 ServerID: perforce.ravenbrook.com
2016-02-16 17:46:27 +00:00
Gareth Rees
ca8c2ae824 Merge commpre.nmk and commpost.nmk into comm.nmk.
Copied from Perforce
 Change: 187528
 ServerID: perforce.ravenbrook.com
2014-11-29 16:43:45 +00:00
Gareth Rees
c3ca6e36d1 Remove redundant pfmdefs from windows makefiles.
Explain how to write a Windows makefile when porting the MPS.

Copied from Perforce
 Change: 187473
 ServerID: perforce.ravenbrook.com
2014-11-06 15:28:40 +00:00
Gareth Rees
c3daf74967 Simplify platform makefiles on windows, using a temporary makefile to work around nmake's lack of variable expansion in string replacement. this means that when adding a new part you no longer need to edit the platform makefiles, just commpre.nmk and commpost.nmk.
Copied from Perforce
 Change: 187299
 ServerID: perforce.ravenbrook.com
2014-10-20 19:15:57 +01:00
Gareth Rees
9021a20b4b Fix the build on windows.
Copied from Perforce
 Change: 186213
 ServerID: perforce.ravenbrook.com
2014-05-20 19:01:26 +01:00
Gareth Rees
d44862dcf7 Ansi platform compiles and passes tests on windows. in detail:
* Move Windows-specific modules like vmw3.c out of commpre.nmk and into the platform-specific Nmake files.
* Set StackProbeDEPTH to 0 on the ANSI platform.
* New Nmake file ananmv.nmk builds the MPS for the ANSI platform using Microsoft Visual C/C++.

Copied from Perforce
 Change: 186063
 ServerID: perforce.ravenbrook.com
2014-05-13 10:12:56 +01:00
Gareth Rees
2514a8eb3d Compile testthrw3.c on all windows build configurations.
Copied from Perforce
 Change: 186061
 ServerID: perforce.ravenbrook.com
2014-05-13 09:33:26 +01:00
Gareth Rees
9aef4157fd Fix review comments from dl <https://info.ravenbrook.com/mail/2014/03/25/17-44-56/0/>.
Add __attribute__((__format__(printf))) to functions that take a printf-compatible format string (when building using GCC or Clang), so that format string mistakes can be detected statically.

Copied from Perforce
 Change: 185021
 ServerID: perforce.ravenbrook.com
2014-03-26 12:27:35 +00:00
Gareth Rees
00ee0bfcc5 64-bit support for pelles c:
* New nmake file w3i6pc.nmk.
* New stack scanner ssw3i6pc.c supplies missing jump buffer definition.
* Some platform tests change from defined(MPS_PF_W3I6MV) to defined(MPS_OS_w3) && defined(MPS_ARCH_I6).
* Make reasonable changes to the source code to avoid warnings from Pelles C:
** Ensure that printf formats are consistent with arguments by using PRIuLONGEST and casting to ulongest_t.
** Use size_t for loop variables that index into arrays.
** Suppress "Consider changing type to 'size_t' for loop variable" warnings for the MPS core.

Copied from Perforce
 Change: 184996
 ServerID: perforce.ravenbrook.com
2014-03-25 10:59:09 +00:00