mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-07 12:20:39 -08:00
Mps: windows linker problem.
Copied from Perforce Change: 144811 ServerID: perforce.ravenbrook.com
This commit is contained in:
parent
c3127296f5
commit
dcbdb260ff
2 changed files with 11 additions and 2 deletions
|
|
@ -129,8 +129,14 @@ CFLAGSCOMMONPOST = $(CFLAGSTARGETPOST)
|
|||
|
||||
# Flags for use in the variety combinations
|
||||
CFLAGSHOT = /Ox /DNDEBUG
|
||||
# We used to have /GZ here (stack probe).
|
||||
# Note that GZ is specific to version 12 of the cl tool. drj 2003-11-04
|
||||
CFLAGSCOOL = /Od /GZ
|
||||
# It is ignored on earlier versions of the cl tool.
|
||||
# /GZ here generates a dependency on the C library and when we are
|
||||
# building a DLL, mpsdy.dll, the linker step will fail (error LNK2001:
|
||||
# unresolved external symbol __chkesp). See
|
||||
# http://support.microsoft.com/kb/q191669/
|
||||
CFLAGSCOOL = /Od
|
||||
CFLAGSINTERNAL = /Zi
|
||||
CFLAGSEXTERNAL =
|
||||
|
||||
|
|
|
|||
|
|
@ -8,7 +8,10 @@ PFM = w3i3mv
|
|||
RAINBOWPATH = MSVISUAL\WIN32\I386
|
||||
DONGLELIB = $(RAINBOWPATH)\spromeps.lib
|
||||
|
||||
PFMDEFS = /DWIN32 /D_WINDOWS /I$(RAINBOWPATH)
|
||||
# /Gs appears to be necessary to suppress stack checks. Stack checks
|
||||
# (if not suppressed) generate a dependency on the C library, __chkesp,
|
||||
# which causes the linker step to fail when building the DLL, mpsdy.dll.
|
||||
PFMDEFS = /DWIN32 /D_WINDOWS /Gs /I$(RAINBOWPATH)
|
||||
|
||||
MPM = <ring> <mpm> <bt> <protocol> <boot> \
|
||||
<arenavm> <arenacl> <locus> <arena> <global> <tract> <reserv> \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue