Antony Blakey wrote:> On 24/11/2007, at 12:01 AM, Michael T. Richter wrote: > >> Does anybody have a working version of LLVM 2.1+ (ideally in a .deb >> file) that they're willing to share? I'm having some weird problems >> trying to get a working version on my 7.10 machine. > > Or even better, does anyone have a recipe for building on Gutsy?I've just build the 2.1 release on 7.10 (gutsy) without problems. What are the problems you encounter. Or tell me how I can build a .deb for you. Cheers, John
On 24/11/2007, at 9:33 AM, John van Schie wrote:> Antony Blakey wrote: >> On 24/11/2007, at 12:01 AM, Michael T. Richter wrote: >> >>> Does anybody have a working version of LLVM 2.1+ (ideally in a .deb >>> file) that they're willing to share? I'm having some weird problems >>> trying to get a working version on my 7.10 machine. >> >> Or even better, does anyone have a recipe for building on Gutsy? > > I've just build the 2.1 release on 7.10 (gutsy) without problems. What > are the problems you encounter. Or tell me how I can build a .deb > for you.I installed gutsy desktop, and llvm svn head (which compiles for me on MacIntel and Win32. The problem I encounter is with gcc. The llvm config executes gcc -V, which on my installation fails because -V requires an argument. This leads configure to think that the compiler cannot produce executables. I'm not au fait with the gcc version configuration stuff in Ubuntu, which is where I suspect this is going wrong. Antony Blakey ------------- CTO, Linkuistics Pty Ltd Ph: 0438 840 787 One should respect public opinion insofar as is necessary to avoid starvation and keep out of prison, but anything that goes beyond this is voluntary submission to an unnecessary tyranny. -- Bertrand Russell
Antony Blakey wrote:> I installed gutsy desktop, and llvm svn head (which compiles for me on > MacIntel and Win32. The problem I encounter is with gcc. The llvm config > executes gcc -V, which on my installation fails because -V requires an > argument. This leads configure to think that the compiler cannot produce > executables. > > I'm not au fait with the gcc version configuration stuff in Ubuntu, > which is where I suspect this is going wrong. > > Antony BlakeyAntony, My GCC (4.1.3, gutsy) also requires an argument for -V, but that does not seem to be a problem. The relevant piece of configure.log configure:2718: gcc -V >&5 gcc: '-V' option must have argument configure:2721: $? = 1 configure:2744: checking for C compiler default output file name configure:2771: gcc conftest.c >&5 configure:2774: $? = 0 configure:2820: result: a.out configure:2825: checking whether the C compiler works configure:2835: ./a.out configure:2838: $? = 0 configure:2855: result: yes A difference may be that I build for x86_64. Regards, John
Antony Blakey schreef:> I installed gutsy desktop, and llvm svn head (which compiles for me on > MacIntel and Win32. The problem I encounter is with gcc. The llvm > config executes gcc -V, which on my installation fails because -V > requires an argument. This leads configure to think that the compiler > cannot produce executables. > > I'm not au fait with the gcc version configuration stuff in Ubuntu, > which is where I suspect this is going wrong. > > Antony BlakeyAntony, My GCC (4.1.3, gutsy) also requires an argument for -V, but that does not seem to be a problem. The relevant piece of configure.log configure:2718: gcc -V >&5 gcc: '-V' option must have argument configure:2721: $? = 1 configure:2744: checking for C compiler default output file name configure:2771: gcc conftest.c >&5 configure:2774: $? = 0 configure:2820: result: a.out configure:2825: checking whether the C compiler works configure:2835: ./a.out configure:2838: $? = 0 configure:2855: result: yes A difference may be that I build for x86_64. Regards, John