From: "Michelle" Newsgroups: comp.os.msdos.djgpp References: <393a849e DOT 0 AT news DOT cyberway DOT com DOT sg> Subject: Re: Repeating execution with no result. Date: Mon, 5 Jun 2000 01:04:20 +0800 Lines: 67 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2919.6600 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 NNTP-Posting-Host: 203.117.44.57 Message-ID: <393a8c25.0@news.cyberway.com.sg> To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com I have now gt this msg DJGPP' environment variable is not defined. I have read the FAQ and l am lost as I seemd to have set this correctly , judging from the env dump below. Also I have checked and the file djgpp.env is in c:\djgpp\ subfolder and a comparison with the zipped file djdev203.zip' shows it to be ok. Any help will be greatly appreciated. "Michelle" wrote in message news:393a849e DOT 0 AT news DOT cyberway DOT com DOT sg... > CAn anybody help me please. > > I am new to C and newer to DJGPP. > > I am just trying to run the world program on my newly installed DJGPP. In > the DOS windows, things just kept repeating itself and scrolled upwards > through my DOS windows and I had to stop with Crl-C. with no exe file > produced > > Program source world.c > > #include > > int main(void) > { > printf("Hello, world!\n"); > return 0; > } > > > command line > > gcc world.exe -o world.c -lm > > my "latest" environmental setting > > TMP=C:\WINDOWS\TEMP > TEMP=C:\WINDOWS\TEMP > PROMPT=$p$g > winbootdir=C:\WINDOWS > COMSPEC=C:\WINDOWS\COMMAND.COM > DJGPP = C:\DJGPP\DJGPP.ENV > PATH=C:\WINDOWS;C:\WINDOWS\COMMAND;C:\PROGRA~1\NETWOR~1\MCAFEE~1;C:\PROGRA~1 > \NETWOR~1\PGP;C:\JDK1.3\BIN;;C:\JDK1.3\LIB;C:\DJGPP\BIN;C:\DJGPP\INCLUDE;C:\ > PKZIP > windir=C:\WINDOWS > BLASTER=A220 I5 D1 T4 > > Running > OS Win95 OSR2 > 64 MB RAM > !66MMX > > TIA > > Rgds > > NKL > >