Xref: news2.mv.net comp.os.msdos.djgpp:1026 Newsgroups: comp.os.msdos.djgpp From: kaikow AT standards DOT com Subject: Minimum requirements for running a .exe created by DJGPP V2 Originator: kaikow AT mv DOT mv DOT com Message-ID: Sender: kaikow AT standards DOT com Reply-To: kaikow AT standards DOT com Organization: MV Communications, Inc. Date: Mon, 12 Feb 1996 19:43:15 GMT Followup-To: kaikow AT standards DOT com Lines: 29 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp If compile the following program using DJGPP v2, should tjhe .exe file be executable on ANY 386/486 running Windows 3.1? Or does the compiler have to take into account hardware differences such as floating point? /* bottles.c -- counting down */ #include #define MAX 100 main () { int count = MAX + 1; while ( --count > 0 ) { printf ( "%d bottles of beer on the wall, %d bottles of beer!\n", count, count); printf("Take one down and pass it around,\n"); printf("%d bottles of beer!\n\n",count-1); } } I use the following to compile @echo off redir -o %1.log -eo gcc -v %1.C -o %1 rm %1 @echo.