Saturday, August 09, 2008

Building emacs-current by VC8

Now I am trying to build emacs-current by VC8. 1. invoke vcvars32.bat to set environment for VC8
C:\archives\devel\src\emacs\nt>"c:\Program Files\Microsoft Visual Studio 8\VC\bin\vcvars32.bat"

C:\archives\devel\src\emacs\nt>"C:\Program Files\Microsoft Visual Studio 8\Common7\Tools\vsvars32.bat"
Setting environment for using Microsoft Visual Studio 2005 x86 tools.
2. install GifLib, Jpeg, LibPng, Tiff, Xpm and Zlib from GnuWin32 project When you intall LibPng, you need to modify zconf.h as following:
#if 0           /* HAVE_UNISTD_H -- this line is updated by ./configure */
since we don't have unistd.h. Also you need to install simx.h from xpm source archives though I don't see the reason. 3. invoke configure.bat as following:
 > configure --prefix c:\emacs-current --with-msvc
4. In making process, resouce compiler complains for icons\emacs.ico.
C:\archives\devel\src\emacs\nt>rc -Foobj-spd/i386/emacs.res emacs.rc
emacs.rc(1) : error RC2176 : old DIB in icons\emacs.ico; pass it through SDKPAINT
This discussion deals with the root cause. So I edit icons\emacs.ico as uncompressed options by IrfanView. But now I am facing on the following missing:
Essential Lisp files seem to be missing. You should either
do 'make bootstrap' or create 'lisp/abbrev.elc' somehow

No comments:

There was an error in this gadget