delorie.com/archives/browse.cgi | search |
From: | "Michelle" <neohkl AT cyberway DOT com DOT sg> |
Newsgroups: | comp.os.msdos.djgpp |
References: | <393a849e DOT 0 AT news DOT cyberway DOT com DOT sg> <393a8c25 DOT 0 AT news DOT cyberway DOT com DOT sg> <8heamo$j8a$1 AT nntp9 DOT atl DOT mindspring DOT net> |
Subject: | Re: Repeating execution with no result. |
Date: | Mon, 5 Jun 2000 15:17:16 +0800 |
Lines: | 100 |
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.61.107 |
Message-ID: | <393b540f.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 |
Hey Guys: Thanks to all who responded. The /include part was one of my desperate atempts. This was the cause and solution > > > my "latest" environmental setting > > > DJGPP = C:\DJGPP\DJGPP.ENV > > <snip> > > This is wrong. There should be no spaces around the = sign. Anyway I have got a working compiler now thks to all your help. While trying out your suggestions, I found out the following which I now return the favour by reproducing here and hope it save a few keystrokes/rekeying if you ever keyed it in thataway. Besides those command lines you guys suggest the following worked too gcc -o world.exe world.c and gcc -o world world.c This worked set PATH=C:\DJGPP\BIN;%PATH% so did this set PATH=%PATH%;C:\DJGPP\BIN; Best Rgds M "Marp" <marp AT 0 DOT 0 DOT 0 DOT 0> wrote in message news:8heamo$j8a$1 AT nntp9 DOT atl DOT mindspring DOT net... > "Michelle" <neohkl AT cyberway DOT com DOT sg> wrote in message > news:393a8c25 DOT 0 AT news DOT cyberway DOT com DOT sg... > > I have now gt this msg > > > > DJGPP' environment variable is not defined. > > > > <snip> > > > > > > > gcc world.exe -o world.c -lm > > > > > This is wrong. It should be: > gcc world.c -o world.exe > > > > my "latest" environmental setting > > > DJGPP = C:\DJGPP\DJGPP.ENV > > <snip> > > This is wrong. There should be no spaces around the = sign. > > > > > > > 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 > > You don't need c:\djgpp\include in your PATH variable. Be sure you read the > readme.1st that comes with DJGPP and I also highly recommend you read > chapters 2 through 5 of the DJGPP FAQ. You can read it online at > http://www.delorie.com/djgpp/ > > Hope this helps. > > Marp > >
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |