View Single Post
  #8   Spotlight this post!  
Unread 16-03-2012, 20:16
rbmj rbmj is offline
Registered User
FRC #0612 (Chantilly Robotics)
Team Role: Alumni
 
Join Date: Apr 2011
Rookie Year: 2011
Location: DC Area/Fairfax County
Posts: 192
rbmj is a jewel in the roughrbmj is a jewel in the roughrbmj is a jewel in the rough
Re: Alternative Toolchain

@Andrew: The stable and default choice for compiling FRC applications without WindRiver is the ucpp project: https://github.com/nikitakit/ucpp

ucpp works fine for most people. However, it uses the "gccdist" toolchain provided by NI internally to do all of its compilation. This gccdist has a few shortcomings. For one, it is a windows binary. ucpp gets around this by running the compiler through wine (which works fine). It's trivial to get running on linux, but it's relatively slow (I know wine on OSX is a bit of a pain in the butt, so your mileage may vary). A second is that it is based off of gcc 3.4.4. Newer versions of gcc are faster, have better optimizations, and (most importantly) have support for the new C++11 standard. A bunch of people are working on compiling their own gcc and libstdc++ in order to take advantage of this new funcitonality and have a native build. Build scripts for that can be found here: https://bitbucket.org/jmesmon/vxwork...tches/overview

I would recommend getting ucpp working on your system first (reliability trumps all). If you'd like to help with building a new toolchain, that would be awesome as well. It is very much a work in progress. I don't think anyone has tested building on a Mac either.

Last edited by rbmj : 16-03-2012 at 20:30.
Reply With Quote