Displaying 20 results from an estimated 94 matches for "lllvmsystem".
2009 Oct 02
2
[LLVMdev] llvm build errors on windows/mingw32
Am 02.10.2009 um 21:07 schrieb Ronald Pijnacker:
> I had a close look at the link line, and -lpsapi is specified before
> -lLLVMSystem (which is giving the error).
> When I put -lpsapi after -lLLVMSystem, it links ok.
I commited a fix for this problem and a modified version of Jay's
patch here:
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20090928/088265.html
I hope MingW builds work again now :)
2009 Jan 17
2
[LLVMdev] Build problems on MinGW
..._GetProcessMemoryInfo at 12
00000000 I __imp__GetProcessMemoryInfo at 12
And llvm-config seems to be asking for them to be picked up:
-I//include -D_DEBUG -D_GNU_SOURCE -D__STDC_LIMIT_MACROS -O2
-fomit-frame-pointer -Woverloaded-virtual
-L//lib -lpsapi -limagehlp -lm
-lLLVMCore -lLLVMSupport -lLLVMSystem
So I'm still mystified.
Best regards,
Duncan
2010 Sep 07
2
[LLVMdev] llvm-config error
...t; sh: llvm-config: command not found
>
> You need MSYS's perl to use llvm-config on mingw.
>
> Does this below work?
> -D_DEBUG (might be -DNDEBUG)
> -D__NO_CTYPE_INLINE
> -D_GNU_SOURCE
> -D__STDC_LIMIT_MACROS
> -D__STDC_CONSTANT_MACROS
> -lLLVMCore -lLLVMSupport -lLLVMSystem
> -lpsapi -limagehlp -lm
>
> ...Takumi
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20100907/58ea3332/attachment.html>
2009 May 27
2
[LLVMdev] CMake build maturity
...t; llvm-config --cxxflags --ldflags --libs core
> -I/home/melis/llvm/include -D_DEBUG -D_GNU_SOURCE
> -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -O3 -fomit-frame-pointer
> -fPIC -Woverloaded-virtual
> -L/home/melis/llvm/lib -lpthread -ldl -lm -lelf
> -lLLVMCore -lLLVMSupport -lLLVMSystem
>
> melis at juggle2:~/c/llvm-svn-build> cmake /home/melis/c/llvm-svn
> -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/home/melis/llvm-cmake
> -DLLVM_ENABLE_THREADS=ON
> melis at juggle2:~/c/llvm-svn-build> make install
> melis at juggle2:~/c/llvm-svn-build> which llv...
2009 Jan 17
0
[LLVMdev] Build problems on MinGW
...000 I __imp__GetProcessMemoryInfo at 12
>
> And llvm-config seems to be asking for them to be picked up:
>
> -I//include -D_DEBUG -D_GNU_SOURCE -D__STDC_LIMIT_MACROS -O2
> -fomit-frame-pointer -Woverloaded-virtual
> -L//lib -lpsapi -limagehlp -lm
> -lLLVMCore -lLLVMSupport -lLLVMSystem
>
> So I'm still mystified.
Put them at the end of the library list:
-lLLVMCore -lLLVMSupport -lLLVMSystem -limagehlp -lpsapi -lm
Unless recently changed, mingw's ld resolves symbols sequentially on the
library list, it does not look on previously processed libraries, so
order is r...
2009 Oct 02
2
[LLVMdev] llvm build errors on windows/mingw32
> >>> d:/objs/llvm/msys/Debug/lib/libLLVMSystem.a(Process.o):e:/Downloads/llvm-trunk/lib/System/Win32/Process.inc:78:
> >>> undefined reference to `GetProcessMemoryInfo at 12'
> >> GetProcessMemoryInfo should be defined in psapi.lib, but AFAICS mingw32
> >> doesn't have this import lib. It is included in the MS Platform SDK,
> >> but
2009 Oct 02
0
[LLVMdev] llvm build errors on windows/mingw32
...bpsapi.a, and adds both a HAVE_LIBPSAPI define to config.h, and
> > -lpsapi to LIBS.
> >
> > Can you find anything in your config.log file about libpsapi?
>
> #define HAVE_LIBPSAPI 1
> in config.h
I had a close look at the link line, and -lpsapi is specified before -lLLVMSystem (which is giving the error).
When I put -lpsapi after -lLLVMSystem, it links ok.
Ronald
2010 Sep 07
0
[LLVMdev] llvm-config error
...+0x4d4):
> undefined reference to `_imp__SymSetOptions at 4'
I guess it might be a known issue;
http://llvm.org/bugs/show_bug.cgi?id=3347
Would you like me to show the result of "llvm-config –cppflags
–ldflags –libs core"?
And please try specifying libs (-lLLVMCore -lLLVMSupport -lLLVMSystem
-lpsapi -limagehlp -lm) manually.
...Takumi
2009 Oct 02
0
[LLVMdev] llvm build errors on windows/mingw32
On 2009-10-02 21:37, Benjamin Kramer wrote:
>> I had a close look at the link line, and -lpsapi is specified before
>> -lLLVMSystem (which is giving the error).
>> When I put -lpsapi after -lLLVMSystem, it links ok.
>
> I commited a fix for this problem and a modified version of Jay's
> patch here:
> http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20090928/088265.html
>
> I hope MingW...
2009 Dec 12
0
[LLVMdev] Rebuilding LLVM libraries with LLVM-GCC on Windows
...--libs x86
-L/home/Michael/llvm-2.6/lib -limagehlp -lpsapi -lLLVMX86AsmParser -lLLVMX86AsmPrinter
-lLLVMX86CodeGen
-lLLVMSelectionDAG -lLLVMAsmPrinter -lLLVMCodeGen -lLLVMScalarOpts -lLLVMTransformUtils
-lLLVMipa
-lLLVMAnalysis -lLLVMTarget -lLLVMMC -lLLVMCore -lLLVMX86Info -lLLVMSupport
-lLLVMSystem
> Was the assembler file generated by the same g++ you are using for
> linking it and, previously, for building LLVM?
No, the assembler file was generated by llvm-as. I did use the same
llvm-g++ to compile the C source file to bit code though.
> Have you access to other toolset for bu...
2009 Jun 01
0
[LLVMdev] CMake build maturity
...flags --ldflags --libs core
>> -I/home/melis/llvm/include -D_DEBUG -D_GNU_SOURCE
>> -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -O3 -fomit-frame-pointer
>> -fPIC -Woverloaded-virtual
>> -L/home/melis/llvm/lib -lpthread -ldl -lm -lelf
>> -lLLVMCore -lLLVMSupport -lLLVMSystem
>>
>> melis at juggle2:~/c/llvm-svn-build> cmake /home/melis/c/llvm-svn
>> -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/home/melis/llvm-cmake
>> -DLLVM_ENABLE_THREADS=ON
>> melis at juggle2:~/c/llvm-svn-build> make install
>> melis at juggle2:~/c/llvm...
2009 Jan 18
4
[LLVMdev] Build problems on MinGW solved - possible llvm-config bug
...lib/libpsapi.a
> > And llvm-config seems to be asking for them to be picked up:
> >
> > -I//include -D_DEBUG -D_GNU_SOURCE -D__STDC_LIMIT_MACROS -O2
> > -fomit-frame-pointer -Woverloaded-virtual
> > -L//lib -lpsapi -limagehlp -lm
> > -lLLVMCore -lLLVMSupport -lLLVMSystem
> >
> > So I'm still mystified.
>
> Put them at the end of the library list:
>
> -lLLVMCore -lLLVMSupport -lLLVMSystem -limagehlp -lpsapi -lm
This works. I had a look at changing the llvm-config.in.in but my Perl hacking
skills aren't up to getting --libnames and...
2009 May 27
0
[LLVMdev] CMake build maturity
...at juggle2:~/c/llvm-svn> llvm-config --cxxflags --ldflags --libs core
-I/home/melis/llvm/include -D_DEBUG -D_GNU_SOURCE
-D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -O3 -fomit-frame-pointer
-fPIC -Woverloaded-virtual
-L/home/melis/llvm/lib -lpthread -ldl -lm -lelf
-lLLVMCore -lLLVMSupport -lLLVMSystem
melis at juggle2:~/c/llvm-svn-build> cmake /home/melis/c/llvm-svn
-DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/home/melis/llvm-cmake
-DLLVM_ENABLE_THREADS=ON
melis at juggle2:~/c/llvm-svn-build> make install
melis at juggle2:~/c/llvm-svn-build> which llvm-config
/home/melis/llvm-cma...
2009 Jan 02
2
[LLVMdev] link problem with llvm-pass
...uild/Release//lib -L/
Users/me/Work/code/llvm-2.4/Release//lib -o /Users/me/Work/code/
synphony/llvmllila/build/Release//bin/llx /Users/me/Work/code/
synphony/llvmllila/build/tools/llx/Release/main.o -lLMABE -lPartition -
lLLVMBitReader -lLLVMAnalysis -lLLVMTarget -lLLVMCore -lLLVMSupport -
lLLVMSystem \
-lpthread -lm
g++ -I/Users/me/Work/code/llvm-2.4/include -I/Users/me/Work/code/
synphony/llvmllila/build/include -I/Users/me/Work/code/synphony/
llvmllila/build/tools/llx -I/Users/me/Work/code/synphony/llvmllila/
include -I/Users/me/Work/code/synphony/llvmllila/tools/llx -D_DEBUG -
D_GNU_...
2004 Oct 23
2
[LLVMdev] Link error with TOOLLINKOPTS=-ldbghelp on MinGW
.../InstrSelectorEmitter.o
/C/Projects/build/MinGW/llvm/utils/TableGen/Debug/Record.o
/C/Projects/build/MinGW/llvm/utils/TableGen/Debug/RegisterInfoEmitter.o
/C/Projects/build/MinGW/llvm/utils/TableGen/Debug/TableGen.o
/C/Projects/build/MinGW/llvm/utils/TableGen/Debug/TableGenBackend.o
-lsupport -lLLVMsystem
/C/Projects/build/MinGW/llvm/mklib --tag=disable-shared --tag=CXX
--mode=link g++ -I/C/Projects/build/MinGW/llvm/utils/TableGen
-I/C/Projects/build/MinGW/llvm/../../../src/llvm/utils/TableGen
-I/C/Projects/build/MinGW/llvm/../../../src/llvm/include
-I/C/Projects/build/MinGW/llvm/include
-I/C/P...
2009 May 22
2
[LLVMdev] CMake build maturity
Paul Melis <llvm at assumetheposition.nl> writes:
> Hi, just chiming in here...
>
> Óscar Fuentes wrote:
>> [...]
>>
>> This is a simple guide for using cmake with LLVM:
>>
>> http://www.llvm.org/docs/CMake.html
>>
>> The makefiles distributed with LLVM have nothing to do with cmake.
>>From the few times I tried building LLVM with
2009 Dec 11
3
[LLVMdev] Rebuilding LLVM libraries with LLVM-GCC on Windows
"Michael Ness" <mike at liquido2.com> writes:
[snip]
> I then used both of these builds to attempt to assemble and link my
> project with llvm-g++:
>
> $ llvm-g++ out.s -o out.exe `llvm-config --ldflags --libs x86 core
> system support`
>
> gave me the errors found in the attached file "errors_gcc.txt". And
>
> $ llvm-g++ out.s -o out.exe
2009 Jan 04
0
[LLVMdev] link problem with llvm-pass
...t; Users/me/Work/code/llvm-2.4/Release//lib -o /Users/me/Work/code/
> synphony/llvmllila/build/Release//bin/llx /Users/me/Work/code/
> synphony/llvmllila/build/tools/llx/Release/main.o -lLMABE -lPartition -
> lLLVMBitReader -lLLVMAnalysis -lLLVMTarget -lLLVMCore -lLLVMSupport -
> lLLVMSystem \
> -lpthread -lm
> g++ -I/Users/me/Work/code/llvm-2.4/include -I/Users/me/Work/code/
> synphony/llvmllila/build/include -I/Users/me/Work/code/synphony/
> llvmllila/build/tools/llx -I/Users/me/Work/code/synphony/llvmllila/
> include -I/Users/me/Work/code/synphony/llvmllila/too...
2009 Apr 09
2
[LLVMdev] Link error building llc
...vm/Debug/bin/llc
/home/neale/LLVM/llvm/tools/llc/Debug/llc.o \
-lLLVMBitReader /home/neale/LLVM/llvm/Debug/lib/LLVMCBackend.o
-lLLVMCodeGen -lLLVMScalarOpts -lLLVMTransformUtils -lLLVMipa -lLLVMAnalysis
/home/neale/LLVM/llvm/Debug/lib/LLVMCppBackend.o -lLLVMTarget -lLLVMCore
-lLLVMSupport -lLLVMSystem -lpthread -ldl -lm -lelf
/home/neale/LLVM/llvm/tools/llc/Debug/llc.o: In function
`ForceCodegenLinking':
/home/neale/LLVM/llvm/include/llvm/CodeGen/LinkAllCodegenComponents.h:45:
undefined reference to
`llvm::createBURRListDAGScheduler(llvm::SelectionDAGISel*, bool)'
/home/neale/LLVM/llvm...
2005 Oct 25
2
[LLVMdev] newbie llc build problem: BreakCriticalEdges.cpp:44: undefined reference to `llvm::LoopSimplifyID'
...eGen.o /home/kh/llvm/obj/Debug/lib/LLVMBCReader.o
/home/kh/llvm/obj/Debug/lib/LLVMBCWriter.o /home/kh/llvm/obj/Debug/lib/LLVMCore.o
/home/kh/llvm/obj/Debug/lib/LLVMbzip2.o --export-dynamic -lLLVMTarget -lLLVMipa -lLLVMTransforms
-lLLVMScalarOpts -lLLVMAnalysis -lLLVMTransformUtils -lLLVMSupport -lLLVMSystem -lpthread
/usr/lib/libltdl.so -ldl --rpath /home/kh/llvm/obj/Debug/bin -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s
-lgcc /usr/lib/gcc/i386-redhat-linux/3.4.3/crtend.o /usr/lib/gcc/i386-redhat-linux/3.4.3/../../../crtn.o
/home/kh/llvm/obj/Debug/lib/libLLVMTransformUtils.a(BreakCriticalEdges.o)(.gnu.lin...