[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Compile emacs23.* with MsVs2003.net problem and some little fix
From: |
Kyle M. Lee |
Subject: |
Compile emacs23.* with MsVs2003.net problem and some little fix |
Date: |
Mon, 04 Feb 2008 14:52:37 +0800 |
User-agent: |
Thunderbird 2.0.0.9 (Windows/20071031) |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi all,
I am newbie here.
I checked out cvs emacs23 code and compiled with ms vc 7.1.
And I found some minor bugs.
I tried the following configure.bat args.
> configure.bat --no-debug --with-msvc --cflags /O2 --cflags /G7
- --cflags /arch:SSE2 --cflags -I./inc --enable-font-backend
and
> configure.bat --no-debug --with-msvc --enable-font-backend
1. In makefile generated by configure.bat + makefile.in.
2. In src/w32term.c file(line: 133). The structs tagWCRANGE and
tagGLYPHSET are redefined, when compiled by MsVc.
3. I commented out the code above mentioned, the compilation is smooth,
including make info, make bootstrap, make, make install. But after I
installed the emacs, and executed it with -no-init-file -no-site-file
args. Emacs poped up an exception window:
title: Emacs Clipboard: emacs.exe
0x0100961b reference 0x6132f950, the memory can not be read.
And I will debug it with debug info compiled for sometimes.
The makefile.w32-in patch:
*** e:/cvs_home/emacs23/emacs/src/makefile.w32-in Wed Jan 9 09:12:14 2008
- --- e:/cvs_home/emacs23/emacs_compile/src/makefile.w32-in Mon Feb 4
08:58:01 2008
***************
*** 137,147 ****
$(BLD)/w32reg.$(O) \
$(BLD)/w32bdf.$(O)
! FONTOBJ =
! ifdef USE_FONTBACKEND
FONTOBJ = $(BLD)/font.$(O) \
$(BLD)/w32font.$(O)
! endif
LIBS = $(TLIB0) \
$(TLIB1) \
- --- 137,149 ----
$(BLD)/w32reg.$(O) \
$(BLD)/w32bdf.$(O)
!
! !ifdef USE_FONTBACKEND
FONTOBJ = $(BLD)/font.$(O) \
$(BLD)/w32font.$(O)
! !else
! FONTOBJ =
! !endif
LIBS = $(TLIB0) \
$(TLIB1) \
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFHprY1u3FNgZBi4vkRAijpAKCbtwcJyLljVlepp1AK4SMmXupDeACfTLBk
pli29Bvz598aLbPaMZ4CmNE=
=CjQ0
-----END PGP SIGNATURE-----
- Compile emacs23.* with MsVs2003.net problem and some little fix,
Kyle M. Lee <=