Date: Tue, 17 Feb 1998 08:30:37 +0200 (IST) From: Eli Zaretskii To: "Salvador Eduardo Tropea (SET)" cc: djgpp-workers AT delorie DOT com, DJ Delorie Subject: Re: Some questions. In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk 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. > 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.