Newsgroups: comp.os.msdos.djgpp From: manfred DOT heumann AT uni-bielefeld DOT de (Manni Heumann) Subject: Re: re:compiling problems References: <6caed11b DOT 25264274 AT aol DOT com> <7t6p6o$48v$1 AT solomon DOT cs DOT rose-hulman DOT edu> X-Newsreader: News Xpress 2.01 Date: Sun, 03 Oct 1999 09:00:32 GMT NNTP-Posting-Host: ppp36-299.hrz.uni-bielefeld.de Message-ID: <37f71b31.0@news.uni-bielefeld.de> X-Trace: 3 Oct 1999 11:00:33 +0200, ppp36-299.hrz.uni-bielefeld.de Lines: 62 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com In article <7t6p6o$48v$1 AT solomon DOT cs DOT rose-hulman DOT edu>, "Damian Yerrick" wrote: > > wrote in message news:6caed11b DOT 25264274 AT aol DOT com... >> I have a source code that I have written with a note pad (on Windows 95) > >Notepad has an annoying habit of renaming your files. >Use RHIDE, Robert Hoehne's integrated development >environment for DJGPP. Get it where you got DJGPP. > >> and saved as myfile.cxx I tried to compile it but I get the following >error: >> >> gxx.exe : myfile.cxx : No such file or directory (ENOENT) > >Did Notepad happen to rename your file myfile.cxx.txt? >Oh, by the way, .cpp is the most common extension for >C++ source files. > >> I am new to programming. Am I using the right text editor? > >RHIDE is better. It's an integrated development environment >especially designed for DJGPP. > >> Should I save this file under any particular directory in DJGPP? > >No. However, before you run DJGPP, you should change the >Current Folder to wherever the source file is located. In my >case it's c:\personal\djgames\dosarena\foo.cpp, so I would type >cd \personal\djgames\dosarena > >Parts of >> My autoexec.bat file is set as indicated below: >>8 >> PATH C:\WINDOWS;C:\WINDOWS\COMMAND;C:\;C:\DJGPP\BIN;%PATH% > >You really shoupd put DJGPP before Windows on your path. >PATH C:\djgpp\bin;C:\Windows;C:\Windows\Command;C:\;%PATH% > Why? It shouldn't make a difference. Is this for speed? What about the speed of windows? >> SET TEMP=C:\PBTOOLS\WINTEMP > >It should be C:\Windows\TEMP so that the disk cleanup programs >can pick it up. > >> SET WINPMT=[Sindows] $P$G > >Never seen winpmt before. Anyone know what it is? > I remember that one from the days of 3.1. Helps to keep a DOS prompt under real DOS and in a DOS box apart. Under Win 3.1 this came handy as you often started and then exited windows and you somtimes just didn't know when it was ok to turn off your computer. -- Manni