From: kalum AT myflat DOT com Message-ID: <37C68428004B0CDD@mypad.MYPAD.COM> (added by postmaster@mypad.MYPAD.COM) To: djgpp AT delorie DOT com Subject: re:compiling problems Date: Sat, 2 Oct 99 00:41:02 +0000 X-Mailer: Endymion MailMan Standard Edition v3.0.2 Reply-To: djgpp AT delorie DOT com On 1 Oct 99, at 12:59, G.Nwankwo wrote: > I have a source code that I have written with a note pad (on Windows 95) 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) > > I am new to programming. Am I using the right text editor? Should I save this > file under any particular directory in DJGPP? > > My autoexec.bat file is set as indicated below: > > SET BLASTER=A220 I5 D1 T4 > SET CLASSPATH=C:\Program Files\PhotoDeluxe 2.0\AdobeConnectables > @ECHO OFF > PROMPT $P$G > PATH C:\WINDOWS;C:\WINDOWS\COMMAND;C:\;C:\DJGPP\BIN;%PATH% > SET DIRCMD=/O > SET TEMP=C:\PBTOOLS\WINTEMP > SET WINPMT=[WINDOWS] $P$G > SET DJGPP=C:\DJGPP\DJGPP.ENV > > Thanks for your help > > G.Nwankwo Why dont you try using gcc.exe instead of using gxx.exe. Example: gcc myfile.cxx -o myfile.exe gcc.exe is what I allways use for my both C and C++ programs. It will detect whether the file needs the C or C++ compiler and will invoke the appropriate one. Hope this helps. Kalum _____________________________________________ Free email with cool domains at FriendlyEmail http://www.mypad.com/