search for: josephmorgan

Displaying 5 results from an estimated 5 matches for "josephmorgan".

2014 Jun 11
2
[LLVMdev] include's are not being located
...ioned about installing/building and —prefix and my misuse of my build directory: I am following instruction from the getting started page: http://llvm.org/docs/GettingStarted.html#getting-started-quickly-a-summary Here are exactly the steps I follow to download/build LLVM/Clang: 1. #llvm cd /Users/josephmorgan svn co http://llvm.org/svn/llvm-project/llvm/trunk llvm 2. #clang cd llvm/tools svn co http://llvm.org/svn/llvm-project/cfe/trunk clang 3. #compiler rt cd llvm/projects svn co http://llvm.org/svn/llvm-project/compiler-rt/trunk compiler-rt 4. #Change Directory to build but not sure why I’m doing...
2014 Jun 13
6
[LLVMdev] include's are not being located
On Jun 12, 2014, at 4:37 PM, Jonathan Roelofs <jonathan at codesourcery.com> wrote: > > > On 6/12/14, 3:07 PM, Joseph wrote: >> Hi Dan, >> >> >> So now that the includes are being found building the tutorial results in 74 warnings and 20 errors. Heres a couple examples: >> >> In file included from
2014 Jun 16
3
[LLVMdev] include's are not being located
...9;--std=c++11' right? Maybe the confusion here is over which one of '--cppflags' vs '--cxxflags' to use where (the former is for the preprocessor, the latter is for the c++ compiler). Also, looking at an example from earlier in the thread: ``` clang++ -g -O3 toy.cpp `/Users/josephmorgan/build/Release+Assert/bin/llvm-config --cppflags --ldflags --libs core` -o toy ``` This suspiciously looks like you're using the just-built llvm-config to give parameters to the system installed clang++. IOW, this could lead you into trouble if `which clang++` doesn't point you to the one...
2014 Jun 12
2
[LLVMdev] include's are not being located
...ld" is that > > - you can have multiple build configurations all building from the > same source directory > - Prevents you from accidently committing files generated by the build system > - Deleting build files is really easy, you just delete the build > directory ( /Users/josephmorgan/build ) > > I would stick with doing out of source builds, so this is fine. This makes sense to me now. :) >> 5. #configure (I am still not clear on what is purpose of prefix here) >> /Users/josephmorgan/llvm/configure --prefix=/Users/josephmorgan/build >> --enable-targe...
2014 Jun 11
2
[LLVMdev] include's are not being located
I’m new to llvm so I’m hoping someone can shed some light on this. I am trying to use the Kaleidoscope tutorial and cannot get past the 3rd part. All the llvm includes are not in their expected places. Eg… “llvm/IR/Verifier.h” is actually in “llvm/include/llvm/IR”. I am running mac osx 10.9. Here’s what I’ve tried: 1. checkout the svn of llvm, clang & compiler rt 2. created a “build”