I obtained the release as 'clang-2.7.tgz' from the official download site. I think the README says to move the compiler to the './tools/ clang' directory. I'll remove '--enable-targets=host,x86_64' from configure and attempt a fresh build. On Jul 29, 2010, at 6:15 PM, Eric Christopher wrote:> > On Jul 29, 2010, at 6:09 PM, Laszlo Kiss wrote: > >> I'm interested in using LLVM for compiling to x86_64 native code >> (ELF64), so I selected 'x86_64' as the architecture. I added 'host' >> just-in-case... >> > > You shouldn't need to do either of them. > >> The '--with-built-clang' selection is for building the Clang LLVM C >> compiler instead of using a gcc front end. I placed the Clang >> distribution in './tools/clang'. >> > > You checked out clang into that directory or did something else? > > -eric
On Jul 29, 2010, at 6:32 PM, Laszlo Kiss wrote:> I obtained the release as 'clang-2.7.tgz' from the official download site. I think the README says to move the compiler to the './tools/clang' directory. > > I'll remove '--enable-targets=host,x86_64' from configure and attempt a fresh build.OK. If something fails please file a PR with the information I asked for. -eric
I've sent a bug report with the relevant info (maybe a bit more than that). Note that altering the configure invocation to the bare minimum (-- prefix only) led to the same link failure. On Jul 29, 2010, at 6:33 PM, Eric Christopher wrote:> > On Jul 29, 2010, at 6:32 PM, Laszlo Kiss wrote: > >> I obtained the release as 'clang-2.7.tgz' from the official >> download site. I think the README says to move the compiler to the >> './tools/clang' directory. >> >> I'll remove '--enable-targets=host,x86_64' from configure and >> attempt a fresh build. > > OK. If something fails please file a PR with the information I > asked for. > > -eric