[LLVMdev] Compiling llvm and Clang on Linux
Duncan Sands
baldrick at free.fr
Thu Jul 12 22:50:02 PDT 2012
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(pthread_key_delete)
>>
>> 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
>
>
>
More information about the llvm-dev
mailing list