View Single Post
  #13   Spotlight this post!  
Unread 16-02-2013, 03:24
codes02 codes02 is offline
Randolph aka Roxbury aka R_______
AKA: Cody Schafer
no team (Formerly: Team 11, MORT)
 
Join Date: Oct 2007
Rookie Year: 2008
Location: MA, USA
Posts: 57
codes02 is on a distinguished road
Re: Alternate GCC Toolchain

I've updated my build script to build a toolchain using a gcc snapshot and no patches to anything.

https://bitbucket.org/jmesmon/vxworks-gcc-patches

Keep in mind that this does delete quite a few directories, make sure you've read the script before using it.

Some caveats on this build and gcc in general:
  • I had to disable building of gcov via "inhibit_libc=true", the fixincludes don't work around it's use of open() or mkdir().
  • Setting WIND_BASE is still necessary (this is rather silly)
  • I haven't run this on a real robot. The only thing I've test built is here
  • I have set it to build libstdc++-v3, but I have no idea if that will work with vxworks.
  • I don't do any extraneous copying or symlinking. Issues with "coreip" are expected. Fixing these need changes to "-isystem" within gcc (coincidentally the same thing that hilariously wants WIND_BASE)