From xemacs-m  Thu Sep 25 07:50:57 1997
Received: from mail.wr.com.au (wr.com.au [203.12.42.10])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id HAA17789
	for <xemacs-beta@xemacs.org>; Thu, 25 Sep 1997 07:50:55 -0500 (CDT)
Received: from ishtar (dialup54.wr.com.au [203.12.42.154])
	by mail.wr.com.au (8.8.7/8.8.7) with SMTP id WAA20621;
	Thu, 25 Sep 1997 22:42:17 +1000 (EST)
Message-Id: <3.0.32.19970925225220.00937c40@wr.com.au>
X-Sender: davidh@wr.com.au
X-Mailer: Windows Eudora Pro Version 3.0 (32)
Date: Thu, 25 Sep 1997 22:52:26 +1000
To: Robert Heitkamp <robert@gmg.com>, xemacs-beta@xemacs.org
From: David Hobley <david.hobley@usa.net>
Subject: Re: NT build problem
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"

This should be fixed in b24 - the docfile does not get built correctly in
b23 - August Hill has provided some patches to make it work correctly.

If you grab a DOC file from somewhere else (if possible) you can build
xemacs with b23. Sorry about that.

Cheers,
david

At 15:39 9/24/97 -0600, Robert Heitkamp wrote:
>I just recently downloaded b23 and have tried to get it
>to build on NT. I've successfuly built the X libraries.
>
>NT version: 4.00.1381
>Visual C++ version: 4.2
>
>Near the end of the build, I get the following error:
>
>..\src\temacs.exe -batch -l make-docfile.el -o ..\lib-src\DOC -d ..\src
>-i ..\site-package
>
>temacs can only be run in -batch mode
>NMAKE: fatal error U1077: '..\src\temacs.exe' : return code '0xffffffff'
>Stop.
>
>After examining the source code for temacs.exe, I've found
>where it is aborting:
>
>Apparently in emacs.c, main_1(), the variable load_me
>is not being set before the call to initial_command_loop().
>The logic is trying to set load_me as follows:
>
>if (argc > 2 + skip_args && !strcmp (argv[1 + skip_args], "-l"))
>   load_me = build_string (argv[2 + skip_args]);
>
>Since the command line arguments are sorted earlier (in main_1() call
>to sort_args()), the argument list looks like this:
>
>argv[0] = "..\src\temacs.exe"
>argv[1] = "-batch"
>argv[2] = "-d"
>argv[3] = "..\src"
>argv[4] = "-i"
>argv[5] = "..\site-package"
>argv[6] = "-l"
>argv[7] = "make-docfile.el"
>argv[8] = "-o"
>argv[9] = "..\lib-src\DOC"
>
>with skip_args == 2, the "-l" arg is not found and load_me is
>not set.
>
>I've fudged the compile to actually get a xemacs.exe built,
>but it dies at run time. Since I feel that the build was not 
>entirely successful, I'm not sure there is a problem with xemacs.
>
>If anyone has had any experience building xemacs under NT, I would
>greatly appreciate any advice you have.
>
>Thanks,
>-- 
>Robert Heitkamp
>robert@gmg.com
>http://www.gmg.com
>
>
>
--
Cheers,
david			http://www.angelfire.com/wa/hobley

