search for: rovitotv

Displaying 6 results from an estimated 6 matches for "rovitotv".

2010 Feb 17
2
[LLVMdev] Kaleidoscope toy4 failure seg fault on llvm::ExecutionEngine::getTargetData (this=0x0)
I am new to llvm so I might be missing a critical step. My system is Fedora 12 but this also happens in Mac OS X 10.6.2. Here are the steps I used to compile llvm: export TARGETS=x86,x86_64,cpp export INSTALLDIR=/home/rovitotv/llvm ../llvm-2.6/configure --prefix=$INSTALLDIR --enable-bindings=none --enable-targets=$TARGETS --enable-optimized --with-llvmgccdir=$INSTALLDIR --with-llvm-externals=/home/rovitotv/ make ENABLE_OPTIMIZED=1 make install To compile the llvm-gcc4.2-2.6 front end: ../llvm-gcc4.2-2.6/configure --targ...
2010 Feb 17
0
[LLVMdev] Kaleidoscope toy4 failure seg fault on llvm::ExecutionEngine::getTargetData (this=0x0)
...like to suggest that you use pastebin to put your code and the send us the link, so that we can download it. The problem is that TheExecutionEngine is set to NULL (maybe because of a previous error), but it will be really better if you use pastebin. On Wed, Feb 17, 2010 at 6:01 AM, Todd Rovito <rovitotv at gmail.com> wrote: > I am new to llvm so I might be missing a critical step. My system is > Fedora 12 but this also happens in Mac OS X 10.6.2. Here are the > steps I used to compile llvm: > export TARGETS=x86,x86_64,cpp > export INSTALLDIR=/home/rovitotv/llvm > ../llvm-2....
2010 Feb 17
1
[LLVMdev] Kaleidoscope toy4 failure seg fault on llvm::ExecutionEngine::getTargetData (this=0x0)
...investigation I realized that there is a difference between the documentation for example 4 on the web here: http://llvm.org/releases/2.6/docs/tutorial/LangImpl4.html And the same example that comes with the llvm distribution that is installed during the build process here: file:///Users/rovitotv/llvm/docs/llvm/html/tutorial/LangImpl4.html (Of course you have to change your path for your installation). Thanks for the help. > On Wed, Feb 17, 2010 at 6:01 AM, Todd Rovito <rovitotv at gmail.com> wrote: >> >> I am new to llvm so I might be missing a critical step.  My sys...
2010 Feb 08
2
[LLVMdev] Help with Mac OS X 10.6.2 build
...le >> getting llvm-2.6 and llvm-gcc-frontend to build.  Thanks for the help. >>  Here are the steps I followed: Filipe, Thanks for the help! I am getting a configure error with llvm-2.6 now. Here is what I got: echo $TARGETS host,x86,x86_64,cpp Todd-Rovitos-MacBook:llvm-2.6-build rovitotv$ ../llvm-2.6/configure --prefix=/opt/llvm/ --enable-bindings=none --enable-targets=$TARGETS --enable-optimized --with-llvmgccdir=/opt/llvm/ --with-llvm-externals=/opt I get the following configure error: configure: error: Unrecognized target host It appears 'host' is not a valid target fo...
2010 Feb 07
0
[LLVMdev] Help with Mac OS X 10.6.2 build
...lib `pwd`/../install/lib > ln -sf /usr/lib/libstdc++.6.dylib `pwd`/../install/lib/libstdc++.dylib > > To build the toy program in the Tutorial I used this command: > g++ -g -O3 toy3.cpp `llvm-config --cppflags --ldflags --libs core` -o toy3 > > Error that I get: > > Tutorial rovitotv$ g++ -g -O3 toy3.cpp `llvm-config --cppflags > --ldflags --libs core` -o toy3 > ld: warning: in /opt/llvm/lib/libLLVMCore.a, file is not of required > architecture > ld: warning: in /opt/llvm/lib/libLLVMSupport.a, file is not of > required architecture > ld: warning: in /opt/llvm/...
2010 Feb 07
3
[LLVMdev] Help with Mac OS X 10.6.2 build
...nstall ln -sf /usr/lib/libstdc++.6.dylib `pwd`/../install/lib ln -sf /usr/lib/libstdc++.6.dylib `pwd`/../install/lib/libstdc++.dylib To build the toy program in the Tutorial I used this command: g++ -g -O3 toy3.cpp `llvm-config --cppflags --ldflags --libs core` -o toy3 Error that I get: Tutorial rovitotv$ g++ -g -O3 toy3.cpp `llvm-config --cppflags --ldflags --libs core` -o toy3 ld: warning: in /opt/llvm/lib/libLLVMCore.a, file is not of required architecture ld: warning: in /opt/llvm/lib/libLLVMSupport.a, file is not of required architecture ld: warning: in /opt/llvm/lib/libLLVMSystem.a, file is n...