delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/07/03/18:10:18

From: varobert AT colba DOT net
Message-Id: <3.0.32.19990703175548.00794e00@mail.colba.net>
X-Sender: varobert AT mail DOT colba DOT net
X-Mailer: Windows Eudora Pro Version 3.0 (32)
Date: Sat, 03 Jul 1999 18:10:20 -0400
To: djgpp AT delorie DOT com
Subject: Re: -mpentium problem
Mime-Version: 1.0
Reply-To: djgpp AT delorie DOT com

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 .

-GodOfWar

At 04:27 PM 7/2/99 -0700, you wrote:
>varobert AT colba DOT net wrote:
>> 
>> I have noticed that DJGPP is able to compile *.cpp programs with the
>> -mpentium option enabled, but not *.c . Is it a bug ?
>> I have DJGPP v2.02 with binutils 2.8.1 installed.
>
>What goes wrong for you?  AFAIK, -mpentium should work (it does at least
>for Hello World, which I just tried).
>-- 
>
>Nate Eldredge
>nate AT cartsys DOT com
>
>

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019