Quote:
Originally Posted by runfrodorun
Hey: this may seem a bit off topic, but is there somewhere I could get information on compiling code targeting VxWorks on a ppc 603 cpu like you did without windriver? I'm running unix and I'm trying to figure out how to download code to out cRIO without a license for windriver.
|
As stated earlier in the thread, the ucpp project is just that. You don't even have to compile the compiler - it downloads the windows binaries and runs them through wine. Yes, it's more difficult, but it's much easier than managing all of the configuration for the build of the new compiler. And if you're a windows person, you can either run ucpp through cygwin or download the gccdist provided by NI (
https://decibel.ni.com/content/docs/DOC-14237) and run it yourself. Then you grab the latest version of WPILib from FIRSTForge, edit the sample makefile in the gccdist to suit your project, change the makefile to statically link in WPILib, and off you go.
Quote:
|
I've started working on compiling my own cross tools to target the different CPU architecture, but I really don't know where to start. Any help appreciated!
|
Again, if you want a native compiler, more power to you. But the easy way out is already there. Just a few scripts away. If you want more power (I myself wouldn't completely miss a compiler with c++0x support, but I don't want to have to worry about a non-standard toolchain screwing up things at competition) feel free to compile your own compiler, just remember that it is the harder way, you may get screwed by it, and few (er?) people will be able to help you.