2011/11/7 Eli Zaretskii > 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 Tel direct : +33 (0) 169851950 Standard : +33 (0) 169851212 ------------------------------