Crosscompiling go project to platform that enables llvm backend

38 views
Skip to first unread message

milyu...@gmail.com

unread,
Feb 13, 2019, 9:21:05 AM2/13/19
to llgo-dev
Hello everyone!

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.

Reply all
Reply to author
Forward
0 new messages