all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Compile emacs23.* with MsVs2003.net problem and some little fix
@ 2008-02-04  6:52 Kyle M. Lee
  2008-02-04  7:26 ` Kyle
  0 siblings, 1 reply; 2+ messages in thread
From: Kyle M. Lee @ 2008-02-04  6:52 UTC (permalink / raw)
  To: emacs-devel

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




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Compile emacs23.* with MsVs2003.net problem and some little fix
  2008-02-04  6:52 Compile emacs23.* with MsVs2003.net problem and some little fix Kyle M. Lee
@ 2008-02-04  7:26 ` Kyle
  0 siblings, 0 replies; 2+ messages in thread
From: Kyle @ 2008-02-04  7:26 UTC (permalink / raw)
  To: emacs-devel

[-- Attachment #1: Type: text/plain, Size: 729 bytes --]

And this:

*** e:/cvs_home/emacs23/emacs_compile/lib-src/makefile.w32-in    Mon Feb  4
08:51:35 2008
--- e:/cvs_home/emacs23/emacs/lib-src/makefile.w32-in    Wed Jan  9 09:19:56
2008
***************
*** 203,209 ****
      $(lispsource)buff-menu.elc \
      $(lispsource)button.elc \
      $(lispsource)emacs-lisp/byte-run.elc \
!     $(lispsource)composite.elc \
      $(lispsource)cus-face.elc \
      $(lispsource)cus-start.elc \
      $(lispsource)custom.elc \
--- 203,209 ----
      $(lispsource)buff-menu.elc \
      $(lispsource)button.elc \
      $(lispsource)emacs-lisp/byte-run.elc \
!     ${lispsource}composite.elc \
      $(lispsource)cus-face.elc \
      $(lispsource)cus-start.elc \
      $(lispsource)custom.elc \

[-- Attachment #2: Type: text/html, Size: 1110 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-02-04  7:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-04  6:52 Compile emacs23.* with MsVs2003.net problem and some little fix Kyle M. Lee
2008-02-04  7:26 ` Kyle

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.