[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
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
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev