Go to Post You know, I have 2 big addictions in my life right now: ice cream, and FIRST. While the prior may not be great for my health, I think I'm doing just fine with FIRST. - Beth Sweet [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 01-11-2011, 23:45
davidthefat davidthefat is offline
Alumni
AKA: David Yoon
FRC #0589 (Falkons)
Team Role: Alumni
 
Join Date: Jan 2011
Rookie Year: 2010
Location: California
Posts: 792
davidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud of
Will The New WPILib and WindRiver Support the New C++11 Standard?

Will The New WPILib and WindRiver Support the New C++11 Standard?
__________________
Do not say what can or cannot be done, but, instead, say what must be done for the task at hand must be accomplished.
Reply With Quote
  #2   Spotlight this post!  
Unread 02-11-2011, 06:18
jtdowney jtdowney is offline
Boiler Up
AKA: John Downey
FRC #4302 (Robophins)
Team Role: Mentor
 
Join Date: Sep 2006
Rookie Year: 2006
Location: Chicago
Posts: 300
jtdowney has a brilliant futurejtdowney has a brilliant futurejtdowney has a brilliant futurejtdowney has a brilliant futurejtdowney has a brilliant futurejtdowney has a brilliant futurejtdowney has a brilliant futurejtdowney has a brilliant futurejtdowney has a brilliant futurejtdowney has a brilliant futurejtdowney has a brilliant future
Re: Will The New WPILib and WindRiver Support the New C++11 Standard?

That would be dependent on if WindRiver updates their product to use a newer version of GCC. I do not have WindRiver installed on this computer so I am not sure what the current version it is using.

Fortunately a large number of the new C++11 features have already made it into GCC over the years. You can see their supported feature list for more information. There is also a good comparison of how much other C++ compliers support C++11 already.
__________________
John Downey
Lead Robot Inspector - Purdue IndianaFIRST District
Whitney Young Magnet High School/Robophins (FRC 4302) - Mentor (2013-current)
Midwest Regional Planning Committee - Member (2012-current)
Boilermaker Regional Planning Committee - Member (2011-2014)
Robot Inspector (2008-current)
Purdue FIRST Programs - Staff Advisor (2008-2011)
Lafayette-Jefferson High School/Precision Guessworks (FRC 1646) - Mentor (2006-2011)
Reply With Quote
  #3   Spotlight this post!  
Unread 02-11-2011, 14:12
AustinSchuh AustinSchuh is offline
Registered User
FRC #0971 (Spartan Robotics) #254 (The Cheesy Poofs)
Team Role: Engineer
 
Join Date: Feb 2005
Rookie Year: 1999
Location: Los Altos, CA
Posts: 802
AustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond repute
Re: Will The New WPILib and WindRiver Support the New C++11 Standard?

Quote:
Originally Posted by jtdowney View Post
That would be dependent on if WindRiver updates their product to use a newer version of GCC. I do not have WindRiver installed on this computer so I am not sure what the current version it is using.
3.4.4 last time I checked (might be a slightly different version though since I pulled mine from the NI site), and very unlikely to change.
Reply With Quote
  #4   Spotlight this post!  
Unread 03-11-2011, 00:41
davidthefat davidthefat is offline
Alumni
AKA: David Yoon
FRC #0589 (Falkons)
Team Role: Alumni
 
Join Date: Jan 2011
Rookie Year: 2010
Location: California
Posts: 792
davidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud ofdavidthefat has much to be proud of
Re: Will The New WPILib and WindRiver Support the New C++11 Standard?

Quote:
Originally Posted by jtdowney View Post
That would be dependent on if WindRiver updates their product to use a newer version of GCC. I do not have WindRiver installed on this computer so I am not sure what the current version it is using.

Fortunately a large number of the new C++11 features have already made it into GCC over the years. You can see their supported feature list for more information. There is also a good comparison of how much other C++ compliers support C++11 already.
Yea, I've been using the new C++11 standards on linux. So, it is a slim chance that they would actually support the new version. Now, there is a way to use the new GCC 4.x versions on WindRiver right? I thought they had their own compiler instead of GCC.
__________________
Do not say what can or cannot be done, but, instead, say what must be done for the task at hand must be accomplished.
Reply With Quote
  #5   Spotlight this post!  
Unread 03-11-2011, 09:35
jtdowney jtdowney is offline
Boiler Up
AKA: John Downey
FRC #4302 (Robophins)
Team Role: Mentor
 
Join Date: Sep 2006
Rookie Year: 2006
Location: Chicago
Posts: 300
jtdowney has a brilliant futurejtdowney has a brilliant futurejtdowney has a brilliant futurejtdowney has a brilliant futurejtdowney has a brilliant futurejtdowney has a brilliant futurejtdowney has a brilliant futurejtdowney has a brilliant futurejtdowney has a brilliant futurejtdowney has a brilliant futurejtdowney has a brilliant future
Re: Will The New WPILib and WindRiver Support the New C++11 Standard?

Quote:
Originally Posted by davidthefat View Post
I thought they had their own compiler instead of GCC.
There are actually few C++ compilers and it takes an enormous investment to develop your own. Even if you did you would still be decades behind GCC in terms of optimization. Most companies, especially in the the embedded space, will either use a stock copy of GCC or slightly modify it for their needs and release their changes per the GPL.
__________________
John Downey
Lead Robot Inspector - Purdue IndianaFIRST District
Whitney Young Magnet High School/Robophins (FRC 4302) - Mentor (2013-current)
Midwest Regional Planning Committee - Member (2012-current)
Boilermaker Regional Planning Committee - Member (2011-2014)
Robot Inspector (2008-current)
Purdue FIRST Programs - Staff Advisor (2008-2011)
Lafayette-Jefferson High School/Precision Guessworks (FRC 1646) - Mentor (2006-2011)
Reply With Quote
  #6   Spotlight this post!  
Unread 04-11-2011, 00:27
AustinSchuh AustinSchuh is offline
Registered User
FRC #0971 (Spartan Robotics) #254 (The Cheesy Poofs)
Team Role: Engineer
 
Join Date: Feb 2005
Rookie Year: 1999
Location: Los Altos, CA
Posts: 802
AustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond repute
Re: Will The New WPILib and WindRiver Support the New C++11 Standard?

I have a couple patches to GCC 4.5.3 that work for me. I have compiled code on Linux using the latest stdlibc++ that can be loaded onto the cRIO and will run correctly. I have enough notes in the form of a script that should build everything correctly, but it is a bit rough around the edges and not many people will be able to answer any questions if you run into problems.

Windriver has their own compiler, and uses GCC.
Reply With Quote
  #7   Spotlight this post!  
Unread 18-11-2011, 16:07
taichichuan's Avatar
taichichuan taichichuan is offline
Software Mentor
AKA: Mike Anderson
FRC #0116 (Epsilon Delta)
Team Role: Mentor
 
Join Date: Feb 2010
Rookie Year: 2010
Location: Herndon, VA
Posts: 328
taichichuan has much to be proud oftaichichuan has much to be proud oftaichichuan has much to be proud oftaichichuan has much to be proud oftaichichuan has much to be proud oftaichichuan has much to be proud oftaichichuan has much to be proud oftaichichuan has much to be proud oftaichichuan has much to be proud oftaichichuan has much to be proud of
Send a message via AIM to taichichuan
Re: Will The New WPILib and WindRiver Support the New C++11 Standard?

I wouldn't hold my breath on C++11 from the WRS Workbench. I think we're still using VxWorks 6.3 on the cRIO for 2012. Perhaps one of the beta test teams would care to comment? What version do you have for the 2012 beta?

Remarkably, in the professional world, VxWorks 6.3 was one of the versions to be skipped due to bugs and problems with the workbench itself. Most commercial companies skipped 6.3 and waited for 6.4. Of course, the big problem for FIRST with 6.3 is that 64-bit platforms (most laptops purchased in the past 2 years) are not officially supported. So, using Workbench on Windows 7 64-bit is sketchy at best. For me, most of it seems to work except the ability to deploy code to the cRIO. For that I have to use Filezilla. Others who have tried Workbench on 64-bit platforms have met with various failures.

HTH,

Mike
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 04:11.

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