Mail Archives: djgpp/1999/07/05/17:33:27
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
>
>
- Raw text -