I try to build executable from some golang project on hardware architecture that is not supported by official golang compiler. My workflow is to build binary IR of that executable (after linking stage) on my desktop using llgo and then compile this entire IR on target machine using llvm backend tools.
Is it possible? And what's steps are necessary to complete? In particular, my interests are about linking IRs of separate modules and golang runtime into the whole single IR file that could be directly translated to executable on target machine.