From: "DeHackEd" References: <35ed4a6d DOT 0 AT news2> Subject: Re: Autoexec.bat problem in DJGPP Date: Wed, 2 Sep 1998 14:11:33 -0400 Lines: 47 Message-ID: <#GLv5zp19GA.259@upnetnews03> Newsgroups: comp.os.msdos.djgpp NNTP-Posting-Host: d23-bn01-blvl-pdi.attcanada.net [142.194.131.23] To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk GCC is a command-line compiler. It assumes all the information will be on the command line. AUTOEXEC has nothing to do with it (unless GCC gives you a bad command or filename). The setup is correct, but you need to specify command-line options. Like this: gcc test1.c gcc test1.c -o test1.exe gcc test1.c test2.c -o test.exe gcc test1.c -c This should be in the readme file too. If you want something more convenient, try looking for RHIDE - runs the compiler for you and is a good looking C editor as well. -- "DeHackEd" My Email address in the header is fake (spammers). Email me at this address: http://www.geocities.com/cgi-bin/homestead/mail.pl?dehacked EarlBlunt wrote in message <35ed4a6d DOT 0 AT news2>... >Hi, > >I have modified the autoexec.bat according to what readme.1st said but after >restarting my system, an error which says input file not found came out when >i ran gcc.exe. >Anyone knows how to solve this problem? >I include the my autoexec.bat settings here: > >rem - By Windows Setup - C:\WINDOWS\COMMAND\MSCDEX.EXE /D:SSCD000 /M:10 >set path=c:\djgpp\bin;C:\WINDOWS;C:\WINDOWS\COMMAND >set djgpp=c:\djgpp\djgpp.env >set path=c:\djgpp\bin;C:\DJGPP\BIN;C:\WINDOWS;C:\WINDOWS\COMMAND > >Your assistance will be greatly appreciated. > >-- >DO YOU YAHOO!? >Get your free @yahoo.com address at http://mail.yahoo.com > > >