From: varobert AT colba DOT net Message-Id: <3.0.32.19990705173212.007adb30@mail.colba.net> X-Sender: varobert AT mail DOT colba DOT net X-Mailer: Windows Eudora Pro Version 3.0 (32) Date: Mon, 05 Jul 1999 17:32:14 -0400 To: djgpp AT delorie DOT com Subject: Re: -mpentium problem Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Reply-To: djgpp AT delorie DOT com Thanks. It seems that I had part 2.7.x and part 2.8.1 in my djgpp installation. I'm downloding the newest versions of the binutils, gcc and gpp. - GodOfWar At 02:53 PM 7/4/99 -0700, you wrote: >varobert AT colba DOT net wrote: >> >> Well, I tried to compile ex1.c or Allegro 3.9.20 (using gcc ex1.c -o >> ex1.exe -lalleg -mpentium) and gcc cc1.exe complains about an unknow option >> "pentium", but if I rename the file to ex1.cpp and recompile with the same >> command, It compiles without problems and creates a ex1.exe . > >That sounds suspiciously as if the C and C++ compiler pieces are of >different versions-- GCC 2.7.x didn't support -mpentium but more recent >versions do. You might try compiling it both ways, using -v, and seeing >what the versions are. (The lines that start "GNU C version..." and >"GNU C++ version...".) If they aren't the same, that is probably your >problem, and you should get gcc281b.zip and install it. You most likely >want both of them to be 2.8.1. >-- > >Nate Eldredge >nate AT cartsys DOT com > >