View Single Post
  #1   Spotlight this post!  
Unread 14-01-2013, 19:32
matthewkennedy matthewkennedy is offline
Registered User
FRC #1294 (Top Gun)
Team Role: Programmer
 
Join Date: Jan 2013
Rookie Year: 2011
Location: Sammamish, WA
Posts: 10
matthewkennedy is an unknown quantity at this point
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!
__________________
-Matthew

"The future is already here—it's just not very evenly distributed"
-William Gibson
Reply With Quote