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

Andrew Wilkins via llvm-dev llvm-dev at lists.llvm.org
Wed Aug 26 01:41:20 PDT 2015

Hi Lei,

I can't give any advice on dragonegg (maybe you should be using the "gccgo"
command instead of "gcc"?), but in case you're not aware there is a Go
frontend for LLVM called llgo:


On Wed, 26 Aug 2015 at 16:30 Lei Wang via llvm-dev <llvm-dev at lists.llvm.org>

> 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)
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150826/9e14cc42/attachment.html>

More information about the llvm-dev mailing list