Sender: nate AT cartsys DOT com Message-ID: <377FD7E4.586E58EF@cartsys.com> Date: Sun, 04 Jul 1999 14:53:40 -0700 From: Nate Eldredge X-Mailer: Mozilla 4.08 [en] (X11; I; Linux 2.2.10 i586) MIME-Version: 1.0 To: djgpp AT delorie DOT com Subject: Re: -mpentium problem References: <3 DOT 0 DOT 32 DOT 19990703175548 DOT 00794e00 AT mail DOT colba DOT net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Reply-To: djgpp AT delorie DOT com 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