Mail Archives: djgpp/1998/05/19/17:53:16
It is likely that this kind of question was already posted, but I
couln'd find anything in the existing news.
I wish to use gcc on a PC in order to do some I/O intensive work
(parsing big ASCII files). The program will only produce displays in a
console.
I tried both ports of gcc v2.8.1 for PC, DJGPP and MINGWIN32.
I compiled the very same source code with both environnement,
and found that the mingwin32 executable was a least 1.5 times slower
than djgpp one. I read in a FAQ that djgpp has to switch between
protected mode and real mode every time it has to do I/O access,
so I expected mingwin32 to be faster than djgpp.
I have to add that at compilation time, mingwin32 gave me more warnings
than djgpp, which might indicate that the settings are not equivalent.
On the other hand, -O3 switch was ON in both versions.
Any hint?
- Raw text -