From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Herbert Euler Newsgroups: gmane.emacs.devel Subject: Two problems of building Emacs on windows Date: Fri, 19 Oct 2007 16:25:50 +0800 Message-ID: NNTP-Posting-Host: dough.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1915290541==" X-Trace: ger.gmane.org 1192782388 24135 80.91.229.10 (19 Oct 2007 08:26:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 19 Oct 2007 08:26:28 +0000 (UTC) To: Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Oct 19 10:28:12 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by dough.gmane.org with esmtp (Exim 4.50) id 1IinDH-0003Af-Ij for ged-emacs-devel@m.gmane.org; Fri, 19 Oct 2007 10:28:11 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IinBK-0000Yu-0C for ged-emacs-devel@m.gmane.org; Fri, 19 Oct 2007 04:26:10 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IinBE-0000Sw-4Y for emacs-devel@gnu.org; Fri, 19 Oct 2007 04:26:04 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IinBC-0000QC-UU for emacs-devel@gnu.org; Fri, 19 Oct 2007 04:26:03 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IinBC-0000Pp-QB for emacs-devel@gnu.org; Fri, 19 Oct 2007 04:26:02 -0400 Original-Received: from bay0-omc2-s5.bay0.hotmail.com ([65.54.246.141]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IinBC-0004d4-DA for emacs-devel@gnu.org; Fri, 19 Oct 2007 04:26:02 -0400 Original-Received: from BAY143-W24 ([65.55.154.59]) by bay0-omc2-s5.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959); Fri, 19 Oct 2007 01:25:51 -0700 X-Originating-IP: [216.145.54.7] Importance: Normal X-OriginalArrivalTime: 19 Oct 2007 08:25:51.0678 (UTC) FILETIME=[A8E7C5E0:01C81229] X-detected-kernel: by monty-python.gnu.org: Windows 2000 SP4, XP SP1+ X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:81203 Archived-At: --===============1915290541== Content-Type: multipart/alternative; boundary="_5a616f49-3cb0-441b-9559-8287f123f960_" --_5a616f49-3cb0-441b-9559-8287f123f960_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I have two problems building Emacs (the unicode-2 branch) on Windows, described below. 1. On missing of some subr's documentations. Here is the error when I require help information about some subrs: C-h f string RET =3D=3D> string is a built-in function in `C source code'. [Missing arglist. Please make a bug report.] Not documented. In fact, all subr's in character.c miss their documentations. Well, I do not know whether this problem exists before, but adding `character.o' to the definition of the `obj' variable in nt\makefile.w32-in solves this. (I did not check whether other files are missing though.) 2. On `buildobj.lst'. Because the different building directories arrangement on Windows, `buildobj.lst' can't be found correctly when the executable emacs.exe is dumped. It is in the `etc' directory on GNU/Linux for example, but not there on Windows. In my building, it is in `src/oo-spd/i386'. To fix the errors in dumping, I did these manually: - Copy the file `buildobj.lst' from `$(OBJDIR)/$(ARCH)' to `$(OBJDIR)/etc'. - Create the directory `$(OBJDIR)/lib-src'. This will make Emacs set `installation-directory' to where it is invoked when dumping (i.e. `$(OBJDIR)/etc', but rather `c:/emacs/etc' in nt/paths.h). See also `init_cmdargs' in emacs.c. I guess the makefiles need fixing. Regards, Guanpeng Xu _________________________________________________________________ Connect to the next generation of MSN Messenger=A0 http://imagine-msn.com/messenger/launch80/default.aspx?locale=3Den-us&sourc= e=3Dwlmailtagline= --_5a616f49-3cb0-441b-9559-8287f123f960_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I have two problems building Emacs (the unicode-2 branch) on Windows,
de= scribed below.

1. On missing of some subr's documentations.

H= ere is the error when I require help information about some subrs:

C= -h f string RET
     =3D=3D> string is a built-in= function in `C source code'.
       =   [Missing arglist.  Please make a bug report.]

 &nbs= p;       Not documented.

In fact, all = subr's in character.c miss their documentations.  Well, I
do not kn= ow whether this problem exists before, but adding
`character.o' to the d= efinition of the `obj' variable in
nt\makefile.w32-in solves this. = (I did not check whether other files
are missing though.)

2. On = `buildobj.lst'.

Because the different building directories arrangeme= nt on Windows,
`buildobj.lst' can't be found correctly when the executab= le emacs.exe
is dumped.  It is in the `etc' directory on GNU/Linux = for example, but
not there on Windows.  In my building, it is in `s= rc/oo-spd/i386'.  To
fix the errors in dumping, I did these manuall= y:

    - Copy the file `buildobj.lst' from `$(OBJDIR)= /$(ARCH)' to
      `$(OBJDIR)/etc'.

&nbs= p;   - Create the directory `$(OBJDIR)/lib-src'.  This will = make Emacs
      set `installation-directory' t= o where it is invoked when dumping
      (i.e. = `$(OBJDIR)/etc', but rather `c:/emacs/etc' in nt/paths.h).
  &= nbsp;   See also `init_cmdargs' in emacs.c.

I guess the ma= kefiles need fixing.

Regards,
Guanpeng Xu


Connect = to the next generation of MSN Messenger=A0 Get it now! = --_5a616f49-3cb0-441b-9559-8287f123f960_-- --===============1915290541== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-devel --===============1915290541==--