Remember me

Lost Password?

Register now!


Who's Online
84 user(s) are online (60 user(s) are browsing Forums)

Members: 0
Guests: 84



Report message:*

Re: Porting to AmigaOS4 thread

Subject: Re: Porting to AmigaOS4 thread
by LiveForIt on 2021/1/13 7:40:08



-O3 takes longer time to compile, -O2 is faster.

Time increases is a factor of around 1.45 to compile it.

It might be really noticeable on larger project, with horrible makefiles, but on smaller project you should not notice any different.

Is standard does no optimization, there also fastest to compile.

-O3 used to be buggy in some conditions, it invokes more optimizing tricks, so if there is bug in the compiler it can result in buggy exe file.

So, people removed -O3 if did not work, not sure if that’s true anymore.

Anyway, if you like to find bugs you should compile with -Wall, code can be messy sometimes, often unused variables are left behind, or there some casting that is ignored, that can result in signs bugs, its better to have enabled to begin with, then having to clean up your code, after few 1000 lines of code.

Powered by XOOPS 2.0 © 2001-2016 The XOOPS Project