X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f From: "Matthew Smith" Newsgroups: comp.os.msdos.djgpp Subject: Re: MingW trouble!!! Date: Tue, 22 Jan 2002 15:09:29 -0000 Lines: 61 Message-ID: References: NNTP-Posting-Host: modem-1365.snake.dialup.pol.co.uk X-Trace: news5.svr.pol.co.uk 1011712089 8119 62.137.117.85 (22 Jan 2002 15:08:09 GMT) NNTP-Posting-Date: 22 Jan 2002 15:08:09 GMT X-Complaints-To: abuse AT theplanet DOT net X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com "Maurizio" wrote in message news:a2guii$3du$1 AT lacerta DOT tiscalinet DOT it... > Hello, > I have downloaded the latest > djgpp packages (gcc 3.0 binutils etc) > and everything works... > Now I want to use mingW... > I have downloaded mingw-runtime > and w32api files and I unzipped them > all into djgpp's folder.... > but now I cannot produce any win32 > application... > what's the matter? > > Thanx in advance. > > Maurizio > > And I bet you can't make any DJGPP programs either. I hope you kept all your DJGPP zips because you need to re-install all of them. It is best to wipe your DJGPP folder and start again. Once you have repaired your DJGPP, make a new folder (say C:MINGW) and unzip MingW into there. Now make two batch files in C:\ SETDJ.BAT set DJDIR=C:\DJGPP set DJGPP=C:/DJGPP/DJGPP.ENV set PATH=C:\DJGPP\BIN;C:\WINDOWS;C:\WINDOWS\COMMAND set MINGDIR= and SETMING.BAT set DJDIR= set DJGPP= set PATH=C:\MINGW\BIN;C:\WINDOWS;C:\WINDOWS\COMMAND set MINGDIR=C:\MINGW Adjust the directories as you need them You can put SETDJ or SETMING in your autoexec.bat if you want. You can switch between them with C:\SETDJ or C:\SETMING from the command line. Each batch file will enable one compiler and disable the other, so you can test your programs with both. DJGPP and MinGW32 are both versions of gcc, so they use all the same filenames but they are not compatible, so be careful to unzip utilities in the right folder.