delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1998/02/17/07:08:56

Message-Id: <m0y4gAa-000S1oC@inti.gov.ar>
Comments: Authenticated sender is <salvador AT natacha DOT inti DOT gov DOT ar>
From: "Salvador Eduardo Tropea (SET)" <salvador AT inti DOT gov DOT ar>
Organization: INTI
To: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>, djgpp-workers AT delorie DOT com,
DJ Delorie <dj AT delorie DOT com>
Date: Tue, 17 Feb 1998 09:14:57 +0000
MIME-Version: 1.0
Subject: Re: Some questions.
References: <m0y4OUB-000S2eC AT inti DOT gov DOT ar>
In-reply-to: <Pine.SUN.3.91.980217083006.3136B-100000@is>

Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> wrote:

> On Mon, 16 Feb 1998, Salvador Eduardo Tropea (SET) wrote:
> 
> > 2) How can I detect if the stub is for the djgpp 2.00 or 2.01 files? I think
> > that I can get an accurate detect just looking in the date of creation of
> > the stub, but what's the date that I can use as thresold?
> 
> v2.01 was released circa Sep 1996, and v2.0 around Feb 1996.  DJ, can
> you check when the first v2.01 beta was released?  If that's
> impossible, try using June 1996 as the dividing line.
Ok
 
> > I got these questions while I was writing a little program to determine if
> > a file is a DJGPP exe.
> 
> Do you really need to know which sub-version it is?  IMHO, it's quite
> dangerous to rely on this for any smart decisions.  For example, you
> could have stub-less COFF files, mixed versions of library and the
> stub, etc.

Well I know it sounds crazy, but I want it in DJVerify to detect mixed 
installations. That's a common problem (people saying: Why RHIDE pass only 128 
bytes to gcc?). With RHIDE and DJGPP itself we can just check the *.ver files, 
but if the user deleted the .ver files we will fail and with make and other 
tools isn't so easy because the same version was released compiled for 2.00 and 
2.01 (or I'm wrong?).
That's all, and is just to add some information to the detection to take a 
better desition. 
Additionally stub-less COFF files can be detected by the library version. And 
very mixed things can be only created by people using alphas or similar stuff 
that normally knows what happends without the need of any kind of verify 
program.

SET
------------------------------------ 0 --------------------------------
Visit my home page: http://set-soft.home.ml.org/
or
http://www.geocities.com/SiliconValley/Vista/6552/
Salvador Eduardo Tropea (SET). (Electronics Engineer)
Alternative e-mail: set-sot AT usa DOT net - ICQ: 2951574
Address: Curapaligue 2124, Caseros, 3 de Febrero
Buenos Aires, (1678), ARGENTINA
TE: +(541) 759 0013

- Raw text -


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