delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/09/20/23:02:53

From: "Charles Sandmann" <sandmann AT clio DOT rice DOT edu>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: DXEs and other OSs, revisited
Date: Wed, 20 Sep 2000 9:55:20
Organization: Aspen Technology, Inc.
Lines: 17
Message-ID: <39c88988.sandmann@clio.rice.edu>
References: <969447138 DOT 772880 AT shelley DOT paradise DOT net DOT nz>
NNTP-Posting-Host: dcloan.hou.aspentech.com
X-Trace: selma.aspentech.com 969462100 15098 10.32.115.107 (20 Sep 2000 15:01:40 GMT)
X-Complaints-To: postmaster AT aspentech DOT com
NNTP-Posting-Date: 20 Sep 2000 15:01:40 GMT
X-NewsEditor: ED-1.5.8
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

> Can the DXE system be ported to win32?  And will a DXE compiled using normal
> DJGPP work with a win32 application?

A DXE compiled and built with DJGPP should hopefully work under Win32 if you
compile and link in the routines to load it.  If not, it should be fixed :-)
Registers saved and call standards might be a problem.

> I already know there's no problems with using DXEs with linux-gcc programs.
> What about win32?
> 
> MingW?  Cygnus?  RSXNTDJ?  Borland?  MSVC?  etc?

If you look at the code that does the DXE load I don't believe you will see 
anything operating system dependent.  The only potential gotcha is if 
the CS/DS selector bases must be the same since you are malloc'ing memory
and then trying to execute it (so CS limit must allow this too).

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019