Mail Archives: djgpp/1999/07/04/17:56:14
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
- Raw text -