Mail Archives: djgpp/1998/08/12/12:32:49
On Wed, 12 Aug 1998, Anand Singh Bisen wrote:
> I have just downloaded the POV Ray for DOS source code. Then i compiled
> the code with DJGPP and Watcom both and i found out that the EXE size of the
> Watcom version was smaller
Did you use the -s switch when compiling with DJGPP? If not, your EXE
file is about 3 times as large as it needs to be, since it includes a lot
of debugging info.
> and the ray tracing with Watcom was really very
> noticable i.e 29 sec for a 1.20 sec file. I wanted to know that if watcom
> supports intel style of assembly and it's also a 32 bit protected mode
> compiler and it is also better in many other ways like optimisation and code
> size then why is DJGPP so popular.
If you use -O2 optimization switch, DJGPP should produce code that runs
as fast as Watcom's.
- Raw text -