From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Jan D." Newsgroups: gmane.emacs.devel Subject: Re: DJGPP only dumps with USE_LISP_UNION_TYPE ?? Date: Sun, 14 Nov 2004 11:17:46 +0100 Message-ID: <419730CA.3000201@swipnet.se> References: <01c4c514$Blat.v2.2.2$ca305740@zahav.net.il> <418EB423.9030601@swipnet.se> <01c4c56a$Blat.v2.2.2$96dd3060@zahav.net.il> <418FD9C3.7080507@swipnet.se> <01c4c619$Blat.v2.2.2$5f981160@zahav.net.il> <41909B12.2060404@swipnet.se> <01c4c6de$Blat.v2.2.2$fe145040@zahav.net.il> <01c4c8e4$Blat.v2.2.2$cacdcc40@zahav.net.il> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1100427582 4655 80.91.229.6 (14 Nov 2004 10:19:42 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 14 Nov 2004 10:19:42 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Nov 14 11:19:24 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CTHTg-0003Wp-00 for ; Sun, 14 Nov 2004 11:19:24 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CTHcK-0002y6-It for ged-emacs-devel@m.gmane.org; Sun, 14 Nov 2004 05:28:20 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CTHc4-0002xv-3L for emacs-devel@gnu.org; Sun, 14 Nov 2004 05:28:05 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CTHc2-0002xR-BZ for emacs-devel@gnu.org; Sun, 14 Nov 2004 05:28:02 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CTHc2-0002xD-7e for emacs-devel@gnu.org; Sun, 14 Nov 2004 05:28:02 -0500 Original-Received: from [195.54.107.70] (helo=mxfep01.bredband.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CTHSs-0002Or-Bm; Sun, 14 Nov 2004 05:18:34 -0500 Original-Received: from coolsville.localdomain ([83.226.180.220] [83.226.180.220]) by mxfep01.bredband.com with ESMTP id <20041114101833.NBUL4883.mxfep01.bredband.com@coolsville.localdomain>; Sun, 14 Nov 2004 11:18:33 +0100 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.1) Gecko/20040707 X-Accept-Language: sv, en-us, en Original-To: Eli Zaretskii In-Reply-To: <01c4c8e4$Blat.v2.2.2$cacdcc40@zahav.net.il> 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: main.gmane.org gmane.emacs.devel:29807 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:29807 Eli Zaretskii wrote: >>Date: Wed, 10 Nov 2004 06:36:29 +0200 >>From: "Eli Zaretskii" >>Cc: monnier@iro.umontreal.ca, emacs-devel@gnu.org >> >>I will modify config.bat to do this test and build Emacs >>appropriately. > > > Done. Could you please see if the new config.bat disables USE_LSB_TAG > automatically on your system? > > If you see any problems, the place where I changed config.bat is near > the label "alignOk"; please see what is necessary to make it work for > you, and tell me how to fix it. The test fails, because echo/cmd.exe does not like &, it expects a command after it: Configuring the source directory... int main(void) { return (unsigned long) 'foo' is not recognized as an internal or external command, operable program or batch file. d:/djgpp/lib/crt0.o(.data+0xc2):crt0.s: undefined reference to `_main' d:/djgpp/lib/libc.a(crt1.o)(.text+0x404):crt1.c: undefined reference to `_main' collect2: ld returned 1 exit status junk: No such file or directory (ENOENT) 'junk' is not recognized as an internal or external command, operable program or batch file. After reading some manuals, this makes it work (don't know if this is applicable to other DOS variants): echo int main(void) { return (unsigned long)^&foo %% 8; } >>junk.c (i.e. a ^ before &). But defining DECL_ALIGN in config.h does not disable USE_LSB_TAG. The only way, sort of modifying lisp.h of course, is to define USE_LISP_UNION_TYPE instead. Jan D.