delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2003/12/18/07:16:50

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
Message-ID: <3FE199FF.9060708@lml.ls.fi.upm.es>
Date: Thu, 18 Dec 2003 13:13:51 +0100
From: Manuel Collado <m DOT collado AT aaron DOT ls DOT fi DOT upm DOT es>
User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Detecting system features
References: <3FE06890 DOT 6060006 AT lml DOT ls DOT fi DOT upm DOT es> <9003-Wed17Dec2003201922+0200-eliz AT elta DOT co DOT il>
NNTP-Posting-Host: 138.100.10.20
X-Trace: 18 Dec 2003 13:13:48 +0100, 138.100.10.20
Lines: 52
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Eli Zaretskii wrote:
>>Date: Wed, 17 Dec 2003 15:30:40 +0100
>>From: Manuel Collado <m DOT collado AT aaron DOT ls DOT fi DOT upm DOT es>
>>Newsgroups: comp.os.msdos.djgpp
>>
>>I would like to know if it is possible from a DJGPP program to detect 
>>(and how) important features of the running system, like these:
>>
>>1. DPMI services (perhaps impossible from inside DJGPP?)
                                        ^^^^^^^^^^^
> 
> If the DJGPP program runs, DPMI services _must_ be there.

That's what I assumed.

> 
>>2. LFN support (I'm aware of _use_lfn. Any more?)
> 
> What's wrong with _use_lfn?  If you have specific problems with it,
> please ask specific questions.

Please see below.

> 
>>3. Can run Win32 executables - or which OS is it
> 
> We have _osmajor and _osminor for that.

Thanks for this pointer. Can they effectively discriminate among the 
different Windows flavors? (WinNT/Win2K/WinXP ...)


Now the rationale for the questions: I'm considering to develop a global 
DJGPP install utility. Not meant to replace 'pakke', but to help new 
users to set up a working DJGPP system from scratch.

So I would like to automatically detect missing system features, like 
DPMI or LNF support. This way the required basic utilities (csdpmi, 
ntlfn..) could be included without harming the user with esoteric questions.

Please consider that the first part of the installer will be executed in 
the bare target machine, not in a full working DJGPP environment.

I also asked about detecting internet services, because I plan to use a 
Win32 version of the 'wget' utility (the same used by pakke) to download 
the required archives during the installation process.

Regards,
-- 
To reply by e-mail, please remove the extra dot
in the given address:  m.collado -> mcollado

- Raw text -


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