search for: lpsapi

Displaying 20 results from an estimated 43 matches for "lpsapi".

Did you mean: psapi
2009 Oct 02
2
[LLVMdev] llvm build errors on windows/mingw32
...privately; > mingw32 does come with a libpsapi.lib file, but in your case it does not > get added to the libs to be linked with, apparently. > > In my case, the configure script does check for the existence of > libpsapi.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 Ronald
2009 Jan 17
2
[LLVMdev] Build problems on MinGW
...ProcessMemoryInfo" - returns: 00000000 T _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
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...
2009 Jan 17
0
[LLVMdev] Build problems on MinGW
...gt; 00000000 T _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. 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...
2009 Oct 02
0
[LLVMdev] llvm build errors on windows/mingw32
...oes come with a libpsapi.lib file, but in your case it does not > > get added to the libs to be linked with, apparently. > > > > In my case, the configure script does check for the existence of > > libpsapi.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, i...
2010 Sep 07
2
[LLVMdev] llvm-config error
...: 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>
2010 Sep 07
0
[LLVMdev] llvm-config error
...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-...
2009 Jan 18
4
[LLVMdev] Build problems on MinGW solved - possible llvm-config bug
...; writes: > > > I have /lib/libimagehlp.a and /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...
2009 Dec 12
0
[LLVMdev] Rebuilding LLVM libraries with LLVM-GCC on Windows
...--ldflags --libs x86 > > should suffice. In the next message, please show the output of that > command. Maybe the `--ldflags' is adding stuff to the command line that > causes the problem. Try removing it. $ llvm-config --ldflags --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 sa...
2005 Sep 20
2
[LLVMdev] How to compile llvm with mingw on Windows ?
...MinGW: >> >>http://www.geocities.com/henrik_bach_llvm/ > > >Thanks Henrik.The make line was most useful. Though, in my case I also >needed to add a -L so libimagehlp.a would be found. Here is my make line: > >$ make tools-only TOOLLINKOPTSB+=-limagehlp TOOLLINKOPTSB+=-lpsapi >LDFLAGS+=-L/ >d/wut/prg/mingw/lib/ LDFLAGS+=-Wl,--no-keep-memory -r > >I've attempted to do this using the 'current' mingw tools. Unfortunately >this lead to an internal compiler error. Which version of gcc are you using? I use 3.4.2.. >Given that my primary inter...
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 18
0
[LLVMdev] Build problems on MinGW solved - possible llvm-config bug
...> I have /lib/libimagehlp.a and /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 a...
2009 Oct 02
0
[LLVMdev] llvm build errors on windows/mingw32
...as Yonggang pointed out to me privately; mingw32 does come with a libpsapi.lib file, but in your case it does not get added to the libs to be linked with, apparently. In my case, the configure script does check for the existence of libpsapi.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?
2008 Feb 21
0
[LLVMdev] LLVM Win32 Issue
...r: LIBFILES = $(LLVM_LIB_PATH)LLVMX86.o \ $(LLVM_LIB_PATH)LLVMExecutionEngine.o \ $(LLVM_LIB_PATH)LLVMJIT.o \ -lLLVMAsmParser \ -lLLVMSelectionDAG \ -lLLVMCodeGen \ -lLLVMScalarOpts \ -lLLVMTransformUtils \ -lLLVMAnalysis \ -lLLVMTarget \ -lLLVMCore \ -lLLVMSupport \ -lLLVMSystem \ -lpsapi \ -ldbghelp If you are on VS, .o is .obj and -lLLVMWhatever is Whatever.lib. If you still have problems, examine the commands that are executed for building some example (examples/Fibonacci/fibonacci.cpp for instance). HTH -- Oscar
2009 Oct 02
2
[LLVMdev] llvm build errors on windows/mingw32
> On 2009-10-02 01:07, 罗勇刚(Yonggang Luo) wrote: > > Well, Now I get the solution. > > Please, someone can apply the patch. > > > > Just modify the makefile resident in lib/System > > > > But, a new error is appeared > > llvm[2]: Linking Debug unit test ADT > >
2008 Feb 01
0
[LLVMdev] Making dll's on MinGW.
...LLVMJIT.o for me). 4. cd to `temp'. 5. Execute this: for f in ../lib*.a ; do ar x $f ; done If you are working on the LLVM's debug install, do: rm Debugger.o ProgramInfo.o RuntimeInfo.o SourceFile.o SourceLanguage*.o 6. Then: g++ -shared --export-all-symbols -o LLVM.dll *.o -lpsapi -ldbghelp This may require several minutes and use approx. 0.5 GB. If you are working on LLVM's debug install, it is a good idea to name the dll LLVMd.dll or something to differentiate it from the release build. 7. This creates LLVM.dll. Move it to LLVM's /lib directory. Put...
2010 Sep 07
0
[LLVMdev] llvm-config error
...gs --ldflags --libs core` -o toy > 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
2005 Jan 21
2
[LLVMdev] making cygwin nightly builds available?
...de path to configure script, fix makefile (gcc throws error, if get -I without any path), fix several config bugs (rand48, some in libstdc++). 6. Add stubs for functions in the debugger support library (fork, waitpid, etc.). I have implementation for some of that functions, but not for all. 7. Add -lpsapi -limagehlp to ExtraLibs to all tools' makefiles. .... \infty [Some dummy things, I've forgotten] As result: mingw port seems don't work now, but can in the nearest future. I have patches for some problems I've listed, but I need to sync them with the latest cvs snapshot. I'll...
2006 Apr 29
3
[LLVMdev] Building LLVM under Mingw. Part I: tools-only
...e is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Report bugs to <bug-make at gnu.org>. 1.4. Bison 1.875 from GNUWin32 project $ bison --version bison (GNU Bison) 1.875 1.5 Flex 2.5.4 from GNUWin32 project. 2. Patching. 2.1. Libraries Add "LIBS+= -lpsapi -limagehlp" to each makefile (AFTER Makefile.common inclusion) building some tool (burg, tablegen, ll*), since gcc doesn't support vcpp style #pragma's of form: #pragma comment(lib, "dbghelp.lib") 2.2 CopyFile Patch lib/System/Win32/Path.inc in such way, that declaration of...