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

Duncan Sands via llvm-dev llvm-dev at lists.llvm.org
Wed Sep 2 06:15:43 PDT 2015


Hi Wang Lei,

On 26/08/15 10:30, Lei Wang via llvm-dev wrote:
> 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!

no-one is working on dragonegg any more, so best not to use it.  Anyway the 
message means your version of gcc doesn't support Go.  I don't think it has 
anything to do with dragonegg.

Best wishes, Duncan.



More information about the llvm-dev mailing list