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)