all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Jan D." <jan.h.d@swipnet.se>
Cc: monnier@iro.umontreal.ca, emacs-devel@gnu.org
Subject: Re: DJGPP only dumps with USE_LISP_UNION_TYPE ??
Date: Wed, 10 Nov 2004 09:12:30 +0100	[thread overview]
Message-ID: <442BAFFE-32F0-11D9-9DAE-000D93505B76@swipnet.se> (raw)
In-Reply-To: <01c4c6df$Blat.v2.2.2$ce9fc3c0@zahav.net.il>

>> I checked the assembler output from gcc and it seems OK, the .comm
>> directives for s1 to 4 are the same as for GNU/Linux.
>
> Of course!  __align__ works in DJGPP, I tested it when LSB tags were
> introduced.
>
>> So either the assembler or linker is doing something bad.
>
> They don't: DECL_ALIGN works on platforms other than XP.

I was thinking that maybe they did some runtime test that resulted in 
different behaviour between 98 and XP.

>
>> DJGPP also runs something called stubify after the linker, I don't
>> know what it does, but it could also be responsible.
>
> It isn't.  stubify simply prepends a small 2KB stub to the otherwise
> COFF executable, since DOS and Windows don't know how to run COFF
> images.  The stub is a DOS program that, when invoked, loads the COFF
> image into memory, switches the CPU into 32-bit protected mode, and
> then passes control to the entry point of the COFF image.

> The OS is also involved here, since the alignment of the program
> sections matters, and DPMI has its own ideas about that.

Sounds like a comlicated setup, all I wanted to do was to make sure my 
modifications compiled for all ports of Emacs :-)  Well, I'm glad that 
you seem to have an idea about where the problem is.

	Jan D.

  reply	other threads:[~2004-11-10  8:12 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-07 10:13 DJGPP only dumps with USE_LISP_UNION_TYPE ?? Jan D.
2004-11-07 10:50 ` Andreas Schwab
2004-11-07 12:02   ` Jan D.
2004-11-07 22:03     ` Eli Zaretskii
2004-11-07 21:56 ` Eli Zaretskii
2004-11-07 23:47   ` Jan D.
2004-11-08  8:10     ` Eli Zaretskii
2004-11-08 12:56       ` Eli Zaretskii
2004-11-08 16:44       ` Eli Zaretskii
2004-11-08 20:40       ` Jan D.
2004-11-09  5:01         ` Eli Zaretskii
2004-11-09 10:25           ` Jan D.
2004-11-09 14:17             ` Stefan
2004-11-09 17:28               ` Jan D.
2004-11-10  4:42                 ` Eli Zaretskii
2004-11-10  8:12                   ` Jan D. [this message]
2004-11-10 21:05                     ` Eli Zaretskii
2004-11-10  4:36             ` Eli Zaretskii
2004-11-12 18:23               ` Eli Zaretskii
2004-11-14 10:17                 ` Jan D.
2004-11-14 20:33                   ` Eli Zaretskii
2004-11-27 12:36                     ` Eli Zaretskii
2004-11-27 16:31                       ` Jan D.
2004-11-27 16:33                         ` Eli Zaretskii
2004-11-27 18:19                         ` Eli Zaretskii
2004-11-27 22:54                           ` Jan D.
2004-11-11 20:03             ` Eli Zaretskii
2004-11-08 15:15 ` Stefan

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=442BAFFE-32F0-11D9-9DAE-000D93505B76@swipnet.se \
    --to=jan.h.d@swipnet.se \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /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.