From: Andrew Crabtree Message-Id: <199706281431.AA156848313@typhoon.rose.hp.com> Subject: Re: DJGPP doesn't work To: puglisi AT XXXarcetri DOT astro DOT it (Alfio T. Puglisi) Date: Sat, 28 Jun 1997 7:31:52 PDT Cc: djgpp AT delorie DOT com In-Reply-To: <33B3BFB4.120CC8CA@XXXarcetri.astro.it>; from "Alfio T. Puglisi" at Jun 27, 97 3:27 pm Precedence: bulk > The cpp seems to be taken too directly from unix: it searches > the include files in /usr/local and such Did you do a SET DJGPP=C:\DJGPP\DJGPP.ENV > I tried to edit > the DJGPP.ENV file, but its syntax is terrible. Bad idea. Go back to your original file. Re-unzip if needed. > gcc -o myprog.exe myprog.c -Ic:\djgpp\include Presumably you are not picking up the link script (-Tdjgpp.djl on the link line). This too is fixed by setting DJGPP properly. Andrew