Go to Post Unfortunately I think IFI made us buy a new one. Something about 200amps across the power connector not being a warranty item. - GeorgeTheEng [more]
Home
Go Back   Chief Delphi > Technical > Programming > C/C++
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #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
  #2   Spotlight this post!  
Unread 14-01-2013, 20:28
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,748
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
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
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 02:54.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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