[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Compiling (development) Emacs with MSVC
From: |
Fabrice Popineau |
Subject: |
Compiling (development) Emacs with MSVC |
Date: |
Mon, 6 Dec 2010 21:21:49 +0000 (UTC) |
User-agent: |
Loom/3.14 (http://gmane.org/) |
Hi guys,
Some of you may remember this thread :
http://thread.gmane.org/gmane.emacs.devel/97959
This issue has been solved, the ASLR feature
was not at stake and I have been using several
variants of emacs 22.x compiled with msvc and linked
to msvcrt.dll.
I'm digging out this thread because I have been beaten
by this very feature using the most recent msvc compiler
(Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 16.00.30319.01)
together with their linker
(Microsoft (R) Incremental Linker Version 10.00.30319.01)
This time, the ASLR feature is turned on _by default_
and the dumped emacs is not able to run (various function
pointers off).
Hint: use the /dynamicbase:no option to the linker.
I have been able to compile the current emacs source
tree with msvc/mscvcrt.dll (debug mode for the moment).
It just works (almost) out of the box. I have been able
to bootstrap and run the whole thing.
Best regards,
Fabrice
- Compiling (development) Emacs with MSVC,
Fabrice Popineau <=