similar to: [LLVMdev] Problem linking with llvm on mac os 10.6

Displaying 20 results from an estimated 10000 matches similar to: "[LLVMdev] Problem linking with llvm on mac os 10.6"

2010 Mar 14
1
[LLVMdev] Problem linking with llvm on mac os 10.6
Indeed it works. Thanks ! Is LLVM built with m32 by default ? Cheers, Romain On Mar 14, 2010, at 5:42 PM, Chris Lattner wrote: > > On Mar 14, 2010, at 8:00 AM, Romain Pechayre wrote: > >> Hello all, >> >> I am trying to build the kaleidoscope sample code on Mac os (10.6). >> What I have done to get llvm libraries : >> >> 1) Downloaded llvm-2.6
2010 Mar 15
0
[LLVMdev] Problem linking with llvm on mac os 10.6
I'm not sure why you are getting mixed architecture (bit size) results on 10.6.x but you can also build the examples as part of the llvm build. Set the environmental var BUILD_EXAMPLES to 1before executing the llvm make. Garrison On Mar 14, 2010, at 11:00, Romain Pechayre wrote: > Hello all, > > I am trying to build the kaleidoscope sample code on Mac os (10.6). > What I have
2010 Mar 16
1
[LLVMdev] Problem linking with llvm on mac os 10.6
LLVM 2.6 hadn't updated configure, and would build as 32-bit by default. The easy fix is to always force the desired triple when configuring, I generally use: configure --{build,host,target}=x86_64-apple-darwin10 - Daniel On Mon, Mar 15, 2010 at 4:22 AM, Garrison Venn <gvenn.cfe.dev at gmail.com> wrote: > I'm not sure why you are getting mixed architecture (bit size) results
2010 Mar 14
0
[LLVMdev] Problem linking with llvm on mac os 10.6
On Mar 14, 2010, at 8:00 AM, Romain Pechayre wrote: > Hello all, > > I am trying to build the kaleidoscope sample code on Mac os (10.6). > What I have done to get llvm libraries : > > 1) Downloaded llvm-2.6 source code > 2) ./configure > 3)make > 4) make intall > > Then I tried to build kaleidoscope as described in the tutorial: > g++ -g -O3 toy.cpp
2006 Aug 03
0
[LLVMdev] Building llvm under cygwin
Hello Anton Thu, 3 Aug 2006 15:06:56 +0400 you wrote: > here it is in the attachment :) Ok. Could you also send LibDeps.txt file? It should be in /obj/tools/llvm-config directory -- With best regards, Anton Korobeynikov. Faculty of Mathematics & Mechanics, Saint Petersburg State University.
2006 Aug 04
1
[LLVMdev] Building llvm under cygwin
Hello Anton Fri, 4 Aug 2006 21:45:19 +0400 you wrote: > Written by Mike Haertel and Paul Eggert. > I've updated llvm and llvm-gcc4 ant trying to build it again after > PR845 was resolved. According to Reid's letter this PR coud be the > reason of my problem. Anyway, "sort" call can cause large problems depending, where in your PATH cygwin directory is (before
2006 Aug 01
15
[LLVMdev] Building llvm under cygwin
> > If you're building llvm-gcc4, you don't need the runtime libraries, so > I'd just stick with the "tools-only" build and declare success. If > you're building llvm-gcc3, I'd suggest you switch to llvm-gcc4 :) I switched to llvm-gcc4 but when I run make from obj folder i run into folowing errors: Can't find a library with no dependencies at
2006 Aug 03
0
[LLVMdev] Building llvm under cygwin
Hello Anton Thu, 3 Aug 2006 12:38:54 +0400 you wrote: > I've updated it yesterday and rebuilt - llvm built fine. But when > building llvm-gcc4 (also updated yesterday from new /trunk > directory) it fails with the same error. You might easily get llvm-gcc4-mingw32 binaries from "prerelease" directory. Since stdcall, fastcall & dllimport stuff is unsupported right now,
2010 Sep 07
0
[LLVMdev] llvm-config error
Hello, António. 2010/9/7 António Saragga Seabra <antseabra at gmail.com>: > I’m having a few problems building the kaleidoscope example (chapter 3) > under MinGW. To build the example I use as recommended > g++ -g -O3 toy.cpp `llvm-config --cppflags --ldflags --libs core` -o toy > sh: llvm-config: command not found You need MSYS's perl to use llvm-config on mingw. Does
2010 Sep 07
2
[LLVMdev] llvm-config error
Hi I’m having a few problems building the kaleidoscope example (chapter 3) under MinGW. To build the example I use as recommended g++ -g -O3 toy.cpp `llvm-config --cppflags --ldflags --libs core` -o toy but get the following error sh: llvm-config: command not found Indeed in my “\llvm-2.7\tools\llvm-config\” build directory there is no “Release” subdirectory as I would expect (only
2008 Feb 21
2
[LLVMdev] llvm 2.2 install and ocaml bindings
I've run into a problem with the ocaml bindings and the jit. It builds fine without the jit, but when I try to include it it tries to use the c object files from the build location, instead of the install location: > llvm-config --libdir --libfiles engine /opt/local/lib /opt/local/lib/LLVMX86.o /opt/local/lib/libLLVMSelectionDAG.a /opt/local/lib/libLLVMCodeGen.a
2010 Sep 02
3
[LLVMdev] Compile dll on Mingw
Hello, everyone! 请键入文字或网站地址,或者上传文档 <http://translate.google.cn/?tr=f&hl=zh-CN>。 取消 <http://translate.google.cn/?tr=t&hl=zh-CN> I'm a newbie about llvm. Now, our project need the dynamic link library(dll) about all of llvm library, such as libLLVMCore.dll, libLLVMSupport.dll, and so on. How should I do? Thanks, yuanzheng. -------------- next part -------------- An HTML
2010 Jun 05
1
[LLVMdev] undefined reference when using llvm-config
On Sat, Jun 5, 2010 at 3:18 AM, Duncan Sands <baldrick at free.fr> wrote: > Hi Tom, > > I'm pretty sure that the LLVMContext constructor is defined in libLLVMCore.a > What is the output of `llvm-config --libs bitwriter`?  Does it include > -lLLVMCore? Hi Duncan, e0082888 at e0082888-laptop:~$ local/bin/llvm-config --libs bitwriter -lLLVMBitWriter -lLLVMCore -lLLVMSupport
2010 Sep 02
0
[LLVMdev] Compile dll on Mingw
Hello, Yuan > I'm a newbie about llvm. Now, our project need the dynamic link library(dll) > about all of llvm library, such as libLLVMCore.dll, libLLVMSupport.dll, and > so on. How should I do? You may do, "/path/to/configure --enable-shared=yes", to build LLVM-2.8svn.dll. On your project, you have to specify to linker, "-L/path/to/dll -lLLVM-2.8svn" (maybe with
2010 Aug 12
2
[LLVMdev] Trying to build llvm-gcc no x86_64 linux
On Thu, Aug 12, 2010 at 6:56 PM, Romain Pechayre <rpechayr at gmail.com> wrote: > Ok. Thank you for your input. New questions :) : > - Is the dev package basically the source code of gcc 4.2 ? Isn't it > already fully included in llvm-gcc code base ? > AFAIR, you need to have the set of headers, gcc-dev.( Some one else may provide you with this information) > - How
2010 Jun 05
0
[LLVMdev] undefined reference when using llvm-config
Hi Tom, > I'm trying to start a project based on llvm, but am running into some > difficulties. I started with the 'LLVM Project Guide', but got hung > up in the complexities of configure.ac. I'm now using llvm-config to > provide the linker directives, but this results in undefined > references: > > $ llvm-g++ `$HOME/local/bin/llvm-config --cppflags
2010 Aug 12
1
[LLVMdev] Trying to build llvm-gcc no x86_64 linux
I got this one fixed by rebuilding llvm Debug (oups). I had an old version. I now seem to have a classical message: version GLIBCXX_3.4.14 not found. I am indeed building llvm-gcc using gcc4.5. Is this the problem ? The fix to this problem indicated in README.LLVM does not help .. Thanks Romain On Thu, Aug 12, 2010 at 6:43 PM, Romain Pechayre <rpechayr at gmail.com> wrote: > Thanks.
2009 Jul 17
2
[LLVMdev] LLVM Hello Pass load error when using opt -load Hello.so
While learning to write LLVM passes and following the precise instructions under http://llvm.org/docs/WritingAnLLVMPass.html, <http://llvm.org/docs/WritingAnLLVMPass.html> I got this error when loading the hello pass to run the test program: opt -load ./Release/lib/Hello.so -hello < test/test.bc > /dev/null Error opening './Release/lib/Hello.so': ./Release/lib/Hello.so:
2010 Sep 07
2
[LLVMdev] llvm-config error
Hello, Takumi, you are absolutely right! It was a problem with Perl. Many thanks! That problem solved, tried to compile again the kaleidoscope example but unfortunatelly now I get the link errors found bellow: $g++ -g –O3 toy.cpp `llvm-config –cppflags –ldflags –libs core`-o toy c:/llvm-2.7/Release/lib/libLLVMSystem.a(Signals.o):Signals.cpp:(.text+0x4d4): undefined reference to
2010 Jun 04
2
[LLVMdev] undefined reference when using llvm-config
I'm trying to start a project based on llvm, but am running into some difficulties. I started with the 'LLVM Project Guide', but got hung up in the complexities of configure.ac. I'm now using llvm-config to provide the linker directives, but this results in undefined references: $ llvm-g++ `$HOME/local/bin/llvm-config --cppflags --ldflags --libs bitwriter` ModuleMaker.cpp