3 ms·
The first issue is to have a compiler backend for that target. Someone has to write that. gcc supports more targets than LLVM. Then, you have to make sure that
by steveklabnik 8y ago
The first issue is to have a compiler backend for that target. Someone has to write that. gcc supports more targets than LLVM.
Then, you have to make sure that it doesn't break; this means running on that target in CI, somehow. Given that you're already talking about devices that may not even have an OS... emulation can work sometimes?
Then, there's ecosystem stuff. You probably want some sort of HAL and support for not just one platform, but all of the platforms you're deploying to. So that's more work...
Finally, some platforms are proprietary and basically give you their own fork of gcc and so C is pretty much your only option anyway.