I thought this might be interesting to some here…
basically its a way to quickly and easily (no tech knowledge required) setup a cross compile environment on your mac or linux box.
this started out for Bela… where I got a little frustrated at the compile time of some of my projects (which are pretty large ) , and wanted to quickly setup a cross-compilation environment on my various macs and linux boxes… and frankly, having done it before I kept ‘putting it off’ as its alway been a bit ‘fiddly’ to setup.
so rather than just install/setup on one box, I thought id try to script it… so its repeatable.
also, I wanted to take the opportunity to do this with modern tools, so this is all based on llvm, clang-10 and supporting cmake.
once working on bela, it was quick n’ easy to adapt it so I can use it with Organelle, Norns, Terminal Tedium, Nebulae , Patchbox… and gives me a consistent approach to developing for them all - which is nice
… this has become xcRpi.
anyway, ‘nothing new’ here, really just a few scripts (with various ‘hook’) based on the outstanding development work others have been doing on clang, llvm, cmake, apt, homebrew etc.
but I thought it might be interesting to some, if like me, they have found that cross compiling can be a bit of a pain to setup… so I put in some effort to ensure it’s ‘reasonably’ well documented, so easy to use.
related bela project : ( https://github.com/thetechnobear/xcBela )
basically the same as xcRpi, just with some bela specifics added.
of course, open source, so if anyone has any idea for improvements etc, Id happily accept pull requests.
(note: my aim is rather for simplicity, than it being any kind of ‘ultimate’ setup… )