search for: obj_root

Displaying 20 results from an estimated 22 matches for "obj_root".

2013 Mar 23
1
[LLVMdev] LLVM 3.2 compilation with RTTI enabled
Hi all, I'm having problems compiling LLVM 3.2 with RTTI enabled. Since my code makes heavy use of the Boost libraries, RTTI is a must. This is the script I use to compile (as root): SRC_ROOT=$PWD OBJ_ROOT=/export/apps/llvm INSTALL_ROOT=/usr/local mkdir -p $OBJ_ROOT cd $OBJ_ROOT $SRC_ROOT/configure --prefix=$INSTALL_ROOT \ --enable-ltdl-install \...
2003 Dec 05
0
[LLVMdev] Re: Makefile.config&setenv
...ng One other thing you might want to try is to put your object tree in a directory that is *not* inside of your source tree. Currently, we don't support using separate object trees that are subdirectories of the source tree. In other words: Will work: ========== SRC_ROOT=/home/yue/llvm OBJ_ROOT=/home/yue/llvm SRC_ROOT=/home/yue/llvm OBJ_ROOT=/home/yue/obj Might/will not work: ==================== SRC_ROOT=/home/hue/llvm OBJ_ROOT=/home/yue/llvm/obj -- John T. > > > ------------------------------------------------------------------------ > > #===-- Makefile.config - Lo...
2009 Jul 11
2
[LLVMdev] LLVM pre-built libraries download? (OBJ_ROOT structure)
...e not fully grokked yet. Anyway, actually building the libraries from source is turning out to be difficult. I want to work with LLVM as described in the except from the LLVM FAQ below. I am using C++, so the FFI is a non-issue. Can someone supply me with a download link for a fully built LLVM OBJ_ROOT directory structure/libraries/object files, for MinGW? And can I suggest that such a thing be made available on the LLVM downloads page? It would avoid a pretty steep learning curve, to get mingw/msys/gnuwin32 packages cooperating enough to get LLVM built. I have looked at the MinGW binaries p...
2009 Jul 12
0
[LLVMdev] LLVM pre-built libraries download? (OBJ_ROOT structure)
Hello, Lance > 10:46:08.20 C: mingw32-make > gcc -IC:/MinGW/include -g -c que.cc > que.cc:1:19: stdio.h: No such file or directory > que.cc:2:20: stdlib.h: No such file or directory > que.cc:3:20: string.h: No such file or directory Have you really unpacked mingw-runtime and w32api tarballs? It seems you didn't. -- With best regards, Anton Korobeynikov Faculty of Mathematics
2009 Jul 12
0
[LLVMdev] LLVM pre-built libraries download? (OBJ_ROOT structure)
Hello, Lance > With regards to my original problem, still requires flex/bison to configure, > and I have installed. The problem that brought me to the list turns out to > be that I have a copy of borland/inprises grep tool on the path (which I use > a lot). Heh, name clashing is well-known problem. Another source of such problems is 'sort' util. > Probably not an issue,
2009 May 20
2
[LLVMdev] LLVM-GCC and Symbian
Hi, I noticed that there is some kind of reference to Symbian support in LLVM-GCC, and I'm trying to find out more about it. I configured llvm- gcc-4.2-2.5 using: > ../configure --prefix=/opt/stow/llvm-gcc-2.5/ --enable-llvm=/home/wim/Documents/Sources/llvm-2.5/OBJ_ROOT/ --disable-bootstrap --disable-multilib --enable-checking --target arm-none-symbianelf --enable-languages=objc,c,c++ --disable-libada At this point, everything seems to work, with the following warning coming up: > *** This configuration is not supported in the following subdirectories: >...
2004 Apr 01
1
[LLVMdev] Makefile.config
Hi John, I have attached my Makefile.config. I noticed that I did'nt have SRC_ROOT and OBJ_ROOT variables defined as such in my environment. But I noticed that this is defined in the Makefile.config by default to the same values. All the same, I tried defining both these variables in my .cshrc, but I still get the same error. The main directory for me is /home/llvm, and I have llvm/ ,...
2009 Jul 11
4
[LLVMdev] LLVMdev Digest, Vol 61, Issue 25
Hi Anton, The problem is in getting the system configured. Below is the crash I get in configure. Your comment regarding gnuwin32 not being needed is interesting - I actually installed gnu bison/flex to get past an earlier crash in configure. Thats why I was suggesting that a precompiled OBJ_ROOT for MingW32 would be a good idea - configure appears to be inherently fragile, and requires more expertise than I have to get past it if it does fail. Configure looking like a fragile thing, and windows programmers (like myself) lacking unix expertise to work arround it if it fails - the confi...
2003 Dec 04
2
[LLVMdev] another question
hi, when i change the OBJ_ROOT and recompile the llvm, it's successful. but run following test, then the error occues: ----------------------------------------------------- [yue at RH9 obj]$ make -C ./test/Programs make: Entering directory `/home/yue/llvm/obj/test/Programs' make[1]: Entering directory `/home/yue/llvm/obj...
2004 Dec 20
2
[LLVMdev] Using instrumentation library
Hi, i ran the insert-function-profiling pass on my bytecode and when i jit it, i get ' cant resolve 'llvm_start_func_profiling'. How do I link the "instrument" library. ? Thanks -Sriraman.
2012 Nov 18
1
[LLVMdev] Basic Block Frequency counting in LLVM 2.9
...:~$ llvm-gcc -emit-llvm -O0 -c -o rawcaudio.bc rawcaudio.c rdpatel55 at ubuntu:~$ llvm-link -o main.bc rawcaudio.bc adpcm.bc rdpatel55 at ubuntu:~$ opt -q -f -insert-edge-profiling -o main.inst main.bc rdpatel55 at ubuntu:~$ lli -fake-argv0 'main.bc' -load /home/rdpatel55/RDPATEL/LLVM2.9/OBJ_ROOT/Debug+Profile/lib/profile_rt.so main.inst < ./small.pcm > op_small.adpcm rdpatel55 at ubuntu:~$ llvm-prof main.inst > profile.txt rdpatel55 at ubuntu:~$ llvm-prof -annotated-llvm main.inst > bb.txt (This gives BB frequency for all Blocks) It works fine. But I found that for certain blo...
2003 Jul 09
2
[LLVMdev] writing a pass
Hi, I'm having a problem with opt. According to the "Writing an LLVM Pass" tutorial, all I have to do to get the Hello pass to work is: cd ${LLVM_HOME}/llvm/lib/Transforms/Hello gmake cd $MYTEST opt -load ${OBJ_ROOT}/lib/Release/libhello.so -hello < something.bc > /dev/null First (just as a friendly reminder), someone may want to go back and double check a bunch of the command lines given in these tutorials. It looks like the opt tool, for instance, doesn't take its input from STDIN. Also, I don...
2004 Nov 29
0
[LLVMdev] QMTest vs. Dejagnu
...ate output placement can not be controlled. Actually, this is not a QMTest issue as much as it is the test code that I wrote. The testing code I wrote (qmtest.py) puts all temporary files into a temporary directory in the object tree. I think I did this because QMTest runs all tests from the $OBJ_ROOT/test directory instead of recursively cd'ing into all of the test directories like the old Makefile system did. > 6) The output logs are not as clean. FWIW, QMTest can generate an HTML output file. > 7) Right now we are dependent on a specific version of QMTest. This is due to the...
2009 May 04
0
[LLVMdev] configure problems under msys
Hello, Bob > download the latest from the head of the trunk, then ran 'configure' under > msys and received the following....  has anyone done this under msys on a > windows pc?? Msys works fine for me. What is the version of msys you're using? What is the version of bash? -- With best regards, Anton Korobeynikov Faculty of Mathematics and Mechanics, Saint Petersburg State
2013 Jul 16
0
[LLVMdev] eclipse and gdb
...ould work fine on all Linux distros, though some advanced features require a minimum gdb version. As for creating the Eclipse project, think the simplest approach is to configure as usual, then create a "makefile project" in Eclipse and tell it to use the existing makefiles created under OBJ_ROOT - don't let Eclipse manage your makefiles. - Alon --------------------------------------------------------------------- Intel Israel (74) Limited This e-mail and any attachments may contain confidential material for the sole use of the intended recipient(s). Any review or distributi...
2003 Jul 09
0
[LLVMdev] writing a pass
...7:14AM -0500, Nicholas Rizzolo wrote: > I'm having a problem with opt. According to the "Writing an LLVM Pass" > tutorial, all I have to do to get the Hello pass to work is: > > cd ${LLVM_HOME}/llvm/lib/Transforms/Hello > gmake > cd $MYTEST > opt -load ${OBJ_ROOT}/lib/Release/libhello.so -hello < something.bc > /dev/null That's pretty much it, assuming a couple of prerequisites, see below. > First (just as a friendly reminder), someone may want to go back and > double check a bunch of the command lines given in these tutorials. It > lo...
2007 Jul 14
0
[LLVMdev] what is LLVMOBJDIR?
In http://llvm.org/svn/llvm-project/llvm-gcc-4-2/trunk/README.LLVM I can read "Below we assume the LLVM OBJDIR is $LLVMOBJDIR". But in http://llvm.org/docs/GettingStarted.html#terminology I read about OBJ_ROOT. Is this the same? Then terminology is inconsistent. But actually I don't think so, because the text says "These are not environment variables". Still it's confusing, because I was asked to set some objdir to an environment, haven't I ?? (see previous paragraph) Moreove...
2009 May 04
2
[LLVMdev] configure problems under msys
...;> </head> <body bgcolor="#ffffff" text="#000000"> <font size="-1"><font face="Verdana">i running msys 1.0 it appears; the bash sh is 2.04.0(1)<br> <br> just to be sure, i'm simply typing $SRC_ROOT/configure from my $OBJ_ROOT directory<br> <br> </font></font><br> Anton Korobeynikov wrote: <blockquote cite="mid:b087fca00905040859h6d7ea1b3wfd8dbc30d6584f98@mail.gmail.com" type="cite"> <pre wrap="">Hello, Bob </pre> <blockquote type=&...
2009 Jul 11
0
[LLVMdev] LLVMdev Digest, Vol 61, Issue 25
Hello, Lance >Your comment regarding gnuwin32 not being needed is interesting - >I actually installed gnu bison/flex to get past an earlier crash in >configure. Which version of LLVM you're building? > (c:/mingw/bin/../lib/gcc/mingw32/4.3.3/../../../../mingw32/bin/ld.ex mingw32 gcc 4.x should be considered as 'alpha'. 3.4.5 is known to be stable. This might give you the
2009 May 04
2
[LLVMdev] configure problems under msys
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> </head> <body bgcolor="#ffffff" text="#000000"> <font size="-1"><font face="Verdana">download the latest from the head of the trunk, then ran 'configure' under msys and received the following.... has anyone done this