[LLVMdev] Compiling llvm and Clang on Linux (original) (raw)
Duncan Sands baldrick at free.fr
Sun Jul 15 01:59:16 PDT 2012
- Previous message: [LLVMdev] Compiling llvm and Clang on Linux
- Next message: [LLVMdev] Compiling llvm and Clang on Linux
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi Sitvanit,
I tried
CC=gcc44 CXX=g++44 ../llvm/configure and got CC=gcc44: Command not found So the syntax is indeed as wriiten in the help.
actually, no, this just means that you are using a shell that doesn't support this syntax. What shell are you using? Try export CC=gcc44 export CXX=g++44 ../llvm/configure
Ciao, Duncan.
Sitvanit Ruah Formal Verification Group IBM Haifa Research Laboratory Tel: 972-4-828-1249
From: Duncan Sands <baldrick at free.fr> To: Sitvanit Ruah/Haifa/IBM at IBMIL, Cc: Konstantin Tokarev <annulen at yandex.ru>, llvmdev at cs.uiuc.edu, llvmdev-bounces at cs.uiuc.edu Date: 13/07/2012 08:50 AM Subject: Re: [LLVMdev] Compiling llvm and Clang on Linux Sent by: Duncan Sands <duncan.sands at gmail.com> Hi Sitvanit, On 12/07/12 22:18, Sitvanit Ruah wrote: I ran "configure -help " and it says usage: configure [OPTION]..... [VAR=VALUE] So I assume configure CC=... is the right syntax. Isn't it? while you might think so, try it the other way round. Also, by doing make VERBOSE=1 you can see which compiler is really being used. Ciao, Duncan. Regard, Sitvanit
From: Konstantin Tokarev <annulen at yandex.ru> To: Sitvanit Ruah/Haifa/IBM at IBMIL, Cc: llvmdev-bounces at cs.uiuc.edu, llvmdev at cs.uiuc.edu, Duncan Sands <baldrick at free.fr> Date: 12/07/2012 05:09 PM Subject: Re:[LLVMdev] Compiling llvm and Clang on Linux Yes, it is the same error referring to 4.1.2. /usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c+ +/4.1.2/i386-redhat-linux/bits/gthr-default.h:114:1: error: weakref declaration must have internal linkage _gthrw(pthreadkeydelete) There are several such errors. Are you sure you are usin gcc44? Don't you need to run CC=gcc44 CXX=g+ +44 ../llvm/configure instead? -- Regards, Konstantin
- Previous message: [LLVMdev] Compiling llvm and Clang on Linux
- Next message: [LLVMdev] Compiling llvm and Clang on Linux
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]