all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Kyle M. Lee" <mail2kyle@gmail.com>
To: emacs-devel <emacs-devel@gnu.org>
Subject: Compile emacs23.* with MsVs2003.net problem and some little fix
Date: Mon, 04 Feb 2008 14:52:37 +0800	[thread overview]
Message-ID: <47A6B635.5080601@gmail.com> (raw)

-----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-----




             reply	other threads:[~2008-02-04  6:52 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-04  6:52 Kyle M. Lee [this message]
2008-02-04  7:26 ` Compile emacs23.* with MsVs2003.net problem and some little fix Kyle

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=47A6B635.5080601@gmail.com \
    --to=mail2kyle@gmail.com \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.