POV-Ray : Newsgroups : povray.programming : Compilation options for MinGW : Compilation options for MinGW Server Time
30 Jun 2024 13:04:12 EDT (-0400)
  Compilation options for MinGW  
From: acasta
Date: 28 Jul 2004 04:25:00
Message: <web.4107624feaaac709117bdd960@news.povray.org>
Hello POV Team,

I hope you can give me some hint about this topic...

I've tried to compile PovWin with MinGW 3.3 (gcc 3.2.3).
I had to comment out a couple of functions from pvupdate.cpp (reg_printf and
GetInstallTime) because of error messages complaining about redefinition.
(I didn't try to investigate this more deeply).
After this, I obtained a working pvengine.exe.

Rendering a sample scene with this compiled-by-me version takes about 90'',
while with the official executable rendering time is about 30''!

My compile was done with -O3 option (full optimisation for speed, I think).
I had to add this in the makefile as it was not present in the "release"
build options. Without this the rendering time was even longer.

Now, I know from reading some posts in this group that the POV team uses the
Intel compiler, that produces very fast executables, but a difference of
three times seems a bit strange to me.

Can you tell me whether this is just what you expect from these compilers or
I should adjust optimisation options differently?
Can you give me suggestions about what optimisations I should use?

Thanks in advance,
acasta


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.