Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   C/C++ (http://www.chiefdelphi.com/forums/forumdisplay.php?f=183)
-   -   WindRiver Compiler Flags (http://www.chiefdelphi.com/forums/showthread.php?t=111233)

matthewkennedy 14-01-2013 19:32

WindRiver Compiler Flags
 
So while poking around in WindRiver's build properties for our robot project, I noticed two build flags that I've never seen before, and can't find anything about on the internet. The flags for "Non Debug mode" are "-O2 -fstrength-reduce -fno-builtin". I know what the -O2 is, but I haven't seen the other two before.

1. Anyone know what the two unknown flags do?
2. Is there any reason why I shouldn't change it to -Ofast instead of -O2? It should be slightly faster due to the function inlining, right?

Thanks in advance!

Greg McKaskle 14-01-2013 20:28

Re: WindRiver Compiler Flags
 
One of them is here

http://gcc.gnu.org/onlinedocs/gcc-3....t-Options.html

Another is here

http://sunsite.ualberta.ca/Documenta...de/gcc_13.html


They are optimization options.

Greg McKaskle


All times are GMT -5. The time now is 18:19.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi