X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f Date: Sat, 6 Oct 2007 08:48:48 -0400 Message-Id: <200710061248.l96CmmLe021989@envy.delorie.com> From: DJ Delorie To: djgpp AT delorie DOT com In-reply-to: <8a7a093d0710060215u2d408f3dj5b49ce298c6ede8a@mail.gmail.com> (message from MegaBrutal on Sat, 6 Oct 2007 11:15:32 +0200) Subject: Re: Identifying DJGPP EXE files References: <8a7a093d0710060215u2d408f3dj5b49ce298c6ede8a AT mail DOT gmail DOT com> Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > Can you tell me how can I decide if an .EXE file uses a DOS extender > or not, and how can I distinguish between several DOS extenders, so > how can I identify DJGPP for example? DJGPP programs have a stub which can be edited with stubedit, so they're recognizable. If you look at find_info() in stubedit.c you'll see the necessary checks.