Hi! Apparently there are no precompiled binaries for llvm-gcc 4.0 for Linux. I've tried downloading the sources and building according to http://llvm.org/docs/CFEBuildInstrs.html (except I'm not an elite gcc hacker). I tried following the guidelines and got what looks like a gcc for x86 with no traces of LLVM. I tried passing --enable-llvm with various llvm root pathnames and got ICEs. Is it possible to download llvm-gcc 4.0 binaries for Linux? If it isn't, is there something new one should know in order to build them that didn't make it into the documentation? Thanks in advance! -- Yossi
I don't think anyone has successfully built llvm-gcc4 on Linux yet. I've tried and failed. The instructions in CFEBuildInstrs.html are for llvm-gcc3 and probably won't work as-is. Reid. On Sat, 2006-06-03 at 19:39 +0300, Yossi Kreinin wrote:> Hi! > > Apparently there are no precompiled binaries for llvm-gcc 4.0 for Linux. > > I've tried downloading the sources and building according to http://llvm.org/docs/CFEBuildInstrs.html (except I'm not an elite gcc hacker). I tried following the guidelines and got what looks like a gcc for x86 with no traces of LLVM. I tried passing --enable-llvm with various llvm root pathnames > and got ICEs. > > Is it possible to download llvm-gcc 4.0 binaries for Linux? If it isn't, is there something new one should know in order to build them that didn't make it into the documentation? > > Thanks in advance! > -- Yossi > > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev-------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20060603/076de297/attachment.sig>
As far as I'm aware the gcc 4.0 frontend is currently only supported on Darwin/OSX. Having said that, people have managed to get it to run on linux. If you look at this post in the mailing list archives http://lists.cs.uiuc.edu/pipermail/llvmdev/2006-April/005642.html it describes how to compile the frontend on linux. I hope that helps. - John On 6/3/06, Yossi Kreinin <yossi.kreinin at mobileye.com> wrote:> > Hi! > > Apparently there are no precompiled binaries for llvm-gcc 4.0 for Linux. > > I've tried downloading the sources and building according to > http://llvm.org/docs/CFEBuildInstrs.html (except I'm not an elite gcc > hacker). I tried following the guidelines and got what looks like a gcc for > x86 with no traces of LLVM. I tried passing --enable-llvm with various llvm > root pathnames > and got ICEs. > > Is it possible to download llvm-gcc 4.0 binaries for Linux? If it isn't, > is there something new one should know in order to build them that didn't > make it into the documentation? > > Thanks in advance! > -- Yossi > > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev >-- John Trimble Research Assistant University of Arizona -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20060603/e383f942/attachment.html>
On Sat, 2006-06-03 at 11:25 -0700, Reid Spencer wrote:> I don't think anyone has successfully built llvm-gcc4 on Linux yet. I've > tried and failed.I've successfully built and used llvm-gcc4 on linux/alpha Andrew
On Sat, 3 Jun 2006, Yossi Kreinin wrote:> Is it possible to download llvm-gcc 4.0 binaries for Linux? If it isn't, is > there something new one should know in order to build them that didn't make > it into the documentation?As others have already mentioned, it is possible to build it on a number of other configurations. I'd like to add though, that getting it to work on new platforms should be pretty easy (if it doesn't already), and I'd be happy to apply patches to the tree. -Chris -- http://nondot.org/sabre/ http://llvm.org/
On 6/3/06, Reid Spencer <reid at x10sys.com> wrote:> I don't think anyone has successfully built llvm-gcc4 on Linux yet. I've > tried and failed.I have :-) There was some patches, but I believe that they were all merged in the latest snapshot. Rafael