Displaying 20 results from an estimated 1200 matches similar to: "[LLVMdev] Compiling std::string with clang"
2012 Jul 13
2
[LLVMdev] Compiling llvm and Clang on Linux
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.
>
>
2012 Jul 12
2
[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
2012 Jul 11
5
[LLVMdev] Compiling llvm and Clang on Linux
Hello all,
I am new to this mailing list so I hope this is the right place to post the
following question.
We are considering using Clang front end for our tool. I tried to compile
LLVM
(using configure followed by make from the llvm top directory) on LINUX
X86 with gcc 4.1.2.
I got several compilation error messages of the form
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c+
2011 Jan 02
0
[LLVMdev] LLVM for ARM target
On Jan 1, 2011, at 8:29 PM, akramul azim wrote:
> Hi,
> I am planning to follow the steps to install LLVM for the ARM-target (Processor: Xscale, Architecture: armv5te):
>
> 1. Install binutils-2.21 (downloaded from gnu.org)
>
> Steps:
>
> $ ./configure --target=arm-unknown-linux-gnueabi --program-prefix=arm- --prefix
> =/llvm/arm
2012 Jul 15
0
[LLVMdev] Compiling llvm and Clang on Linux
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.
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,
2011 Jan 02
3
[LLVMdev] LLVM for ARM target
Hi,
I am planning to follow the steps to install LLVM for the ARM-target (Processor: Xscale, Architecture: armv5te):
1. Install binutils-2.21 (downloaded from gnu.org)
Steps:
$ ./configure --target=arm-unknown-linux-gnueabi --program-prefix=arm- --prefix
=/llvm/arm --with-sysroot=/llvm/arms/sys-root
$ make
$ make install
2. Install LLVM
Steps
$ ../llvm-src/configure
2012 Jul 11
0
[LLVMdev] Compiling llvm and Clang on Linux
It's undocumented FAQ, if you are using RHEL5 (or clone).
- install gcc44-c++
- Build with CC=gcc44 CXX=g++44
- You may need "CC=clang -std=gnu89" to use clang with its glibc.
Have fun!
ps. AFAIK, clang can be built more easily on centos6.
...Takumi
2012/7/11 Sitvanit Ruah <RUAH at il.ibm.com>:
>
> Hello all,
> I am new to this mailing list so I hope this is
2012 Jul 12
0
[LLVMdev] Compiling llvm and Clang on Linux
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:
2012 Jul 12
3
[LLVMdev] Compiling llvm and Clang on Linux
Thanks for the information.
I am running on a machine on which gcc44 is installed but whose default
installation is 4.1.2.
I ran
../llvm/configure CC=gcc44 CXX=g++44
make
and still got the same error (I checked and CC=gcc44 and CXX=g++44 now in
build/Makefile.config)..
I tried also
../llvm/configure CC=gcc44 CXX=g++44 --include_dir=<gcc44 include dir>
but it didn't help
2012 Jul 12
0
[LLVMdev] Compiling llvm and Clang on Linux
Hi,
> I ran
> ../llvm/configure CC=gcc44 CXX=g++44
> make
>
> and still got the same error (I checked and CC=gcc44 and CXX=g++44 now in
> build/Makefile.config)..
is it exactly the same error? The original error referred to gcc-4.1 header
files. Does the new error still refer to gcc-4.1 header files, or is it now
talking about gcc-4.4 header files?
Ciao, Duncan.
2011 Jul 05
0
[LLVMdev] pthread problems with gcc 4.1 includes?
I'm trying to build an app with clang against libraries that are using
GCC 4.1 ABI.
I'm getting an error "weakref declaration must have internal linkage"
Now I'm stumped though, perhaps it is an incompatibility between clang
trunk and gcc 4.1 include files?
- I've built clang from trunk
- fixed include paths to point to gcc 4.1 include paths
When I modify clang to use
2014 Mar 17
2
Instalar extrafont
Saludos amigos,
Quisiera cambiar el tipo de letra de las leyendas de mis graficos. He leido algunas instrucciones en internet y me pidan que instale el extrafontdb y el extrafont, sin embargo solo he encontrado el extrafontdb, no esta en el CRAN el extrafont. Saben como me lo puede descargar o si existe alguna otra alternativa para cambiar el tipo de letra. Yo tengo el R 3.0.2
Saludos cordiales,
2012 Jul 15
2
[LLVMdev] Compiling llvm and Clang on Linux
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.
>
2014 Mar 18
3
Instalar extrafont
Hola Carlos,
Muchas gracias por responder. He usado el package sysfonts, pero me sale un mensaje cuando trato de usar los fonts que ya he agregado.
Primero agreago el font que quiero:
font.add(family="time",regular="times.ttf")
Pero despues cuando quiero usarlo me sale el siguiente mensaje:
Warning message:In text.default(x = 2, y = 7, labels = "Aster", family =
2005 Feb 28
1
3.0.11 pthread_once errors
I have installed Samba 3.0.11 on OpenBSD 3.6. It is linked with MIT
Kerberos 1.4, which was installed to /usr/local/kerberos. Whenever i
run a Samba application (any of them; i get these messages when
starting any of the smbd, nmbd, or winbindd daemons, as well as user
applications such as smbclient) i get a screen full of errors.
Everything so far seems to be working, but the errors are a
2003 Sep 10
1
[LLVMdev] Warning during compilation
Hi all,
I get this warning during compilation:
make[3]: Entering directory
`/home/wendling/llvm/llvm/lib/ExecutionEngine/JIT'
Compiling Emitter.cpp
Emitter.cpp:44:1: warning: "_POSIX_MAPPED_FILES" redefined
In file included from /usr/include/unistd.h:171,
from
/usr/include/c++/3.3.1/i586-mandrake-linux-gnu/bits/gthr-default.h:38,
from
2005 Jul 07
5
[LLVMdev] External function 'pthread_once' could not be resolved
Hi LLVM'ers,
I'm trying to build the DotGNU project with the LLVM-tools.
After minor modifications of source and build code and some configure
housekeeping, it seems that I've managed so far to build all the DotGNU
tools. However, when extensively using the DotGNU tools I get this error
message:
make[1]: Entering directory `/home/hb/projects/build/LLVM/pnet-1-1/samples'
2006 Apr 23
2
[LLVMdev] Building CFE in Mingw
Hello, all.
Just found this file in my e-mail atchive, hope it will be useful for somebody.
===cut=here===
Some small rules:
1) No blankspace in the paths to the top-level directories.
2) Add paths to binaries to your system PATH variable.
3) Use short paths to top-level directories.
1. Some checks & preparations.
1) Be sure, that you're using right make version:
$ make
2005 May 12
0
Using string from stdlib in winemaker
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
How can I use std::string in my winemaker project?
If I do a #include <string> along with an #include <windows.h>, I get
the following errors:
- ---
In file included from /usr/include/c++/3.3/i486-linux/bits/c++io.h:35,
from /usr/include/c++/3.3/bits/fpos.h:44,
from
2012 Jul 15
3
[LLVMdev] Compiling llvm and Clang on Linux
In order to isolate the problem I am now running on a machine whose only
installation of gcc/g++ is gcc44, g++44
For this installation I am getting the following error:
COMPILE:
clang_linux/asan-i386/i386: /gpfs/haifa-p4/00/pincette/sitvanit/LLVM/llvm/projects/compiler-rt/lib/asan/asan_new_delete.cc
/.../sitvanit/LLVM/llvm/projects/compiler-rt/lib/asan/asan_new_delete.cc:19:10:
fatal error: