[LLVMdev] Compiling llvm and Clang on Linux
Sitvanit Ruah
RUAH at il.ibm.com
Thu Jul 12 13:18:53 PDT 2012
I ran "configure -help " and it says
usage: configure [OPTION]..... [VAR=VALUE]
So I assume configure CC=... is the right syntax. Isn't it?
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