From: Andrew Newsgroups: comp.os.msdos.djgpp Subject: Re: gxx: Cannot execute 'gcc.exe': No such file or directory (ENOENT) Date: Sun, 08 Jun 2003 19:26:51 +1000 Organization: ECLiPSE Lines: 63 Message-ID: References: <5ec65db2 DOT 0306041759 DOT 1eca13e2 AT posting DOT google DOT com> <5ec65db2 DOT 0306070805 DOT 7070aeab AT posting DOT google DOT com> <5ec65db2 DOT 0306071945 DOT 2b05a5fe AT posting DOT google DOT com> NNTP-Posting-Host: p249-tnt7.syd.ihug.com.au Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: lust.ihug.co.nz 1055064414 26094 203.173.144.249 (8 Jun 2003 09:26:54 GMT) X-Complaints-To: abuse AT ihug DOT co DOT nz NNTP-Posting-Date: Sun, 8 Jun 2003 09:26:54 +0000 (UTC) X-Newsreader: Forte Agent 1.93/32.576 English (American) To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com >DJGPP=c:\DJGPP\djgpp.env > >PATH=C:\PROGRA~1\MICROS~1.NET\Common7\IDE; C:\PROGRA~1\MICROS~1.NET\VC7\BIN; C:\PROGRA~1\MICROS~1.NET\Common7\Tools; C:\PROGRA~1\MICROS~1.NET\Common7\Tools\bin\prerelease; C:\PROGRA~1\MICROS~1.NET\Common7\Tools\bin; C:\DJGPP\bin\; C:\Perl\bin\; C:\WINDOWS\system32; C:\WINDOWS; C:\WINDOWS\COMMAND; C:\WINDOWS\system32\WBEM; C:\Program Files\Microsoft SQL Server\80\Tools\Binn\; C:\WINDOWS\Microsoft.NET\Framework\v1.0.2914\; C:\ProgramFiles\Microsoft.NET\FrameworkSDK\Bin; C:\MSSQL7\BINN; c:\j2sdk1.4.1\bin; C:\WINDOWS\MICROS~1.NET\FRAMEW~1\V10~1.291\; C:\PROGRA~1\MICROS~2.NET\FRAMEW~1\Bin; > >The directory where I unzipped all the DJGPP files was c:\DJGPP. > >I am sure I followed *ALL* procedures in the instruction and it ain't >working for my PC. I wonder if the current version of DJGPP is not >suitable for Windows XP. If so, I probably look for other C++ >compilers or use other programming language like java or .Net instead. You allready have MV VS .NET installed and the Sun JDK 1.4.1. Looks like you need to figure out what you want to do as you are going arround in cricles. Your path looks like you have installed everything but the kitchen sink from MS for development tools. You need to cleanup what you have installed and remove old versions and fix up your path so it has LFN and not a mixture of LFN and SFN directories as this may cause you problems with MS apps. You have MS SQL 7.0 and SQL 2000 (8.0?) in the path. If you need a Windows app then use your installed MS VS .net, if you need to produce DOS based apps then MC VS .net will NOT do this. If you need to produce Win 32 command line apps then you haev a number of choices.... to many to mention.... I suggest that you setup a batch file that:- 1) removes all of the un-necesary environment variables. The ones you need at a minimum are:- path=..... no MS apps (windows is not an app, it's an OS) and put the djgpp path FIRST. djgpp= 2) Run cmd.com and then execute the batch file that sets up your path. As you have stated that you allready have the latest version of DJGPP then it is 100% compatible with Win2K and XP for what you are trying to do. The DJGPP alpha 1 release from 2 months ago is compatible with Win 2K/Xp and so have all of the GCC releases for the last 16 months. AS time goes on more and more fixes are included in the code to cope with MS bugs found in 2K/XP. Andrew