Date: Sat, 12 May 2001 08:52:26 +0300 From: "Eli Zaretskii" Sender: halo1 AT zahav DOT net DOT il To: "James Dowdell" Message-Id: <2593-Sat12May2001085226+0300-eliz@is.elta.co.il> X-Mailer: Emacs 20.6 (via feedmail 8.3.emacs20_6 I) and Blat ver 1.8.9 CC: djgpp AT delorie DOT com In-reply-to: (jadowdl@angelfire.com) Subject: Re: DJGPP mailing list - erroneous errors, gcc and DJGPP References: Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > Date: Fri, 11 May 2001 23:42:48 -0400 > From: "James Dowdell" > > after set > environ.txt, environ.txt: > COMSPEC=C:\WINDOWS\COMMAND.COM > PROMPT=$p$g > TEMP=C:\WINDOWS\TEMP > TMP=C:\WINDOWS\TEMP > DJGPP = C:\DJGPP\DJGPP.ENV ^^^ This is wrong: remove the excess blanks around the `='. See section 8.2 of the FAQ for more details. > C:\DJGPP>bin\setdjgpp C:\DJGPP C:/DJGPP This corrects the problem with blanks around `='. > C:\DJGPP>gcc -v temp.c > Reading specs from c:/djgpp/lib/specs > gcc version 2.95.2 19991024 (release) > c:/djgpp/lib/gcc-lib/djgpp/2.952/cpp.exe -lang-c -v -isystem c:/djgpp/bin/include -D__GNUC__=2 -D__GNUC_MINOR__=95 -Dunix -Di386 -DGO32 -DMSDOS -DDJGPP=2 -DDJGPP_MINOR=2 -D__unix__ -D__i386__ -D__GO32__ -D__MSDOS__ -D__DJGPP__=2 -D__DJGPP > MINOR__=2 -D__unix -D__i386 -D__GO32 -D__MSDOS -D__DJGPP=2 -D__DJGPP_MINOR=2 temp.c c:/djgpp/tmp\ccMyMMPJ.i Do you really have djdev202.zip installed, not djdev203.zip? (See the value of DJGPP_MINOR above.) I suggest to install the latest version, I'm not sure GCC 2.95.2 will work properly with v2.02. Also, remove your lib/specs file, since GCC 2.95.2 doesn't need it. It comes with its own version of specs, which is different. > c:/djgpp/bin/as.exe -o c:/djgpp/tmp\ccA61GFg.o c:/djgpp/tmp\ccMr4F9r.s > c:/djgpp/tmp\ccMr4F9r.s: Assembler messages: > c:/djgpp/tmp\ccMr4F9r.s:6: Error: no such 386 instruction: `bset' What does "as --version" print? Can it be that you have an old version of Binutils installed?