[llvm-dev] How to compile go progran using dragongg?

Lei Wang via llvm-dev llvm-dev at lists.llvm.org
Wed Aug 26 01:30:14 PDT 2015


Hello, everyone.
I'm trying to compile go language program to llvm ir, and I using the
gcc+dragonegg , like this:
$gcc test.go -S -O1 -o - -fplugin=path_to_dragonegg/dragegg.so -flto
but there is a error occur: gcc: error trying to exec 'go1': execvp: no
such file or directory.
Is there anyone can help me?  Thx a lot!

--Wang Lei (BUPT)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150826/06375d92/attachment.html>


More information about the llvm-dev mailing list