|
![](/i/fill.gif) |
Ross wrote:
> "Rafal 'Raf256' Maj" <spa### [at] raf256 com> wrote in message
> news:Xns9509BBE4C7718raf256com@203.29.75.35...
>
>>Hi,
>>how can I recompile PovRay for optimal speed on my machine?
>>
>>I'm using an athlon (2.6 GHz).
>>
>>Can I pass some heavy-optimize options to compiler etc?
>>
>>--
>>http://www.raf256.com/3d/
>>Rafal Maj 'Raf256', home page - http://www.raf256.com/me/
>>Computer Graphics
>
>
> to start, you could try (assuming gcc):
>
> -O3 -DCPU=athlon -march=athlon
>
> for more info, check the man or info pages for gcc. they have an
> "optimization" section. check out "-finline-functions" and "-funroll-loops"
> maybe more.
>
>
>
Look into the environment variable CFLAGS. I set it to -arch=pentium4
-mcpu=pentium4 -O3. I compile most of my software and it really goes
faster with optimization.
Shalom
Post a reply to this message
|
![](/i/fill.gif) |