[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#9960: Compiling Emacs trunk with MSVC
From: |
Fabrice Popineau |
Subject: |
bug#9960: Compiling Emacs trunk with MSVC |
Date: |
Thu, 10 Nov 2011 20:56:11 +0100 |
2011/11/7 Eli Zaretskii
<eliz@gnu.org>
Will this work:
#define ALIGN_GCTYPEBITS 8
#if (1 << GCTYPEBITS) != ALIGN_GCTYPEBITS
#error ALIGN_GCTYPEBITS is wrong!
#endif
#define DECL_ALIGN(type, var) \
type __declspec(align(ALIGN_GCTYPEBITS)) var
Since all this is needed for MSVC alone, we could then move the
ALIGN_GCTYPEBITS definition to src/s/ms-w32.h and leave only the rest
in lisp.h. WDYT?
Sure. feel free to adapt on the basis of the attached patch.Status is :
- completely functional 32 bits version with xpm, gif, jpeg, tiff. Able to boostrap itself.
- the 64 bits version compiles and dumps, but fails to bootstrap (seems to be looping inside elisp code).
Is there any interest in having a 64bits windows emacs ?
I have added two other files : a 64bits manifest for emacs.exe and a w32compat.h header file that is needed to compile the above mentioned libraries. In my case, this w32compat.h is included while compiling image.c for example.
Feel free to comment and adapt for the release version.
Fabrice
--
Fabrice Popineau
-----------------------------
SUPELEC
Département Informatique
3, rue Joliot Curie
91192 Gif/Yvette Cedex
------------------------------
emacs-24-3.diff
Description: Binary data
emacs-x64.manifest
Description: Binary data
w32compat.h
Description: Text Data
- bug#9960: Compiling Emacs trunk with MSVC, (continued)
- bug#9960: Compiling Emacs trunk with MSVC, Christoph Scholtes, 2011/11/05
- bug#9960: Compiling Emacs trunk with MSVC, Eli Zaretskii, 2011/11/05
- bug#9960: Compiling Emacs trunk with MSVC, Christoph Scholtes, 2011/11/05
- bug#9960: Compiling Emacs trunk with MSVC, Christoph Scholtes, 2011/11/05
- bug#9960: Compiling Emacs trunk with MSVC, Eli Zaretskii, 2011/11/06
- bug#9960: Compiling Emacs trunk with MSVC, Eli Zaretskii, 2011/11/06
- bug#9960: Compiling Emacs trunk with MSVC, Fabrice Popineau, 2011/11/07
- bug#9960: Compiling Emacs trunk with MSVC, Eli Zaretskii, 2011/11/07
- Message not available
- bug#9960: Compiling Emacs trunk with MSVC, Eli Zaretskii, 2011/11/08
- bug#9960: Compiling Emacs trunk with MSVC, Eli Zaretskii, 2011/11/07
- bug#9960: Compiling Emacs trunk with MSVC,
Fabrice Popineau <=
- bug#9960: Compiling Emacs trunk with MSVC, Lennart Borgman, 2011/11/10
- bug#9960: Compiling Emacs trunk with MSVC, Juanma Barranquero, 2011/11/10
- bug#9960: Compiling Emacs trunk with MSVC, Juanma Barranquero, 2011/11/10
- bug#9960: Compiling Emacs trunk with MSVC, Fabrice Popineau, 2011/11/20
- bug#9960: Compiling Emacs trunk with MSVC, Juanma Barranquero, 2011/11/20
- bug#9960: Compiling Emacs trunk with MSVC, Dan Nicolaescu, 2011/11/20
- bug#9960: Compiling Emacs trunk with MSVC, Juanma Barranquero, 2011/11/20
- bug#9960: Compiling Emacs trunk with MSVC, Stefan Monnier, 2011/11/20
- bug#9960: Compiling Emacs trunk with MSVC, Juanma Barranquero, 2011/11/20
- bug#9960: Compiling Emacs trunk with MSVC, Eli Zaretskii, 2011/11/20