<div dir="ltr">Hi Lei,<div><br></div><div>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: <a href="http://llvm.org/klaus/llgo/blob/master/README.TXT">http://llvm.org/klaus/llgo/blob/master/README.TXT</a>.</div><div><br></div><div>Cheers,</div><div>Andrew</div><div><br><div class="gmail_quote"><div dir="ltr">On Wed, 26 Aug 2015 at 16:30 Lei Wang via llvm-dev <<a href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-family:nsimsun,monospace;font-size:large;color:rgb(0,0,0)">Hello, everyone.</div><div class="gmail_default" style="font-family:nsimsun,monospace;font-size:large;color:rgb(0,0,0)">I'm trying to compile go language program to llvm ir, and I using the gcc+dragonegg , like this:</div><div class="gmail_default"><font color="#000000" face="nsimsun, monospace" size="4">$gcc test.go -S -O1 -o - -fplugin=path_to_dragonegg/dragegg.so -flto</font><br></div><div class="gmail_default"><font color="#000000" face="nsimsun, monospace" size="4">but there is a error occur: gcc: error trying to exec 'go1': execvp: no such file or directory.</font></div><div class="gmail_default"><font color="#000000" face="nsimsun, monospace" size="4">Is there anyone can help me? Thx a lot!</font></div><div class="gmail_default"><br></div><div class="gmail_default">--Wang Lei (BUPT)</div></div>
_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</a><br>
</blockquote></div></div></div>