Displaying 11 results from an estimated 11 matches for "libimagehlp".
2009 Jan 17
2
[LLVMdev] Build problems on MinGW
...ldflags --libs core` -o tut1
>> /mingw/lib/libLLVMSystem.a(Process.o):Process.cpp:(.text+0x8d):
>> undefined reference to `GetProcessMemoryInfo at 12'
>> collect2: ld returned 1 exit status
> I believe you will need additional libraries like imagehlp and psapi.
I have /lib/libimagehlp.a and /lib/libpsapi.a
nm --defined-only /lib/libpsapi.a | grep "GetProcessMemoryInfo" -
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__...
2005 Sep 20
2
[LLVMdev] How to compile llvm with mingw on Windows ?
...:07 +0200
>
>Henrik Bach wrote:
>>Hi,
>>
>>Please have a look on my private Getting started with 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 lea...
2009 Jan 17
0
[LLVMdev] Build problems on MinGW
Duncan Pierce <duncan at duncanpierce.org> writes:
> I have /lib/libimagehlp.a and /lib/libpsapi.a
>
> nm --defined-only /lib/libpsapi.a | grep "GetProcessMemoryInfo" -
>
> 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:
&...
2005 Sep 21
0
[LLVMdev] How to compile llvm with mingw on Windows ?
...t;>> Hi,
>>>
>>> Please have a look on my private Getting started with 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....
2009 Jan 18
4
[LLVMdev] Build problems on MinGW solved - possible llvm-config bug
Óscar Fuentes <ofv <at> wanadoo.es> writes:
> Duncan Pierce <duncan <at> duncanpierce.org> 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 -lLLVM...
2009 Jan 17
2
[LLVMdev] Build problems on MinGW
2009/1/13 Anton Korobeynikov <anton at korobeynikov.info>:
> Hello, Duncan
>
> * LD (which I took to be representative of Binutils version) 2.17.50
> 20060824
> Why you're using such old binutils? 2.18.50-20080109 definitely worked for
> me (and release binaries were built so...).
Thank you for your reply Anton. I'm sorry it's taken a while to get
back to you.
2009 Jan 17
0
[LLVMdev] Build problems on MinGW
Hello, Duncan
> $ g++ -g tut1.cpp `llvm-config --cxxflags --ldflags --libs core` -o tut1
> /mingw/lib/libLLVMSystem.a(Process.o):Process.cpp:(.text+0x8d):
> undefined reference to `GetProcessMemoryInfo at 12'
> collect2: ld returned 1 exit status
I believe you will need additional libraries like imagehlp and psapi.
--
With best regards, Anton Korobeynikov
Faculty of Mathematics
2009 Jan 18
0
[LLVMdev] Build problems on MinGW solved - possible llvm-config bug
Duncan Pierce <duncan at duncanpierce.org> 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
>>...
2006 May 13
0
[LLVMdev] Building Tools on MinGW from CVS
Hello, Greg.
You wrote Saturday, May 13, 2006, 11:12:26 PM:
GP> The problem is that it can't find some symbols: (SymSetOptions,
GP> SymInitialize, SymGetModuleBase, SymFunctionTableAccess, etc.)
GP> I looked on the Web and these functions are in Dbghelp.lib.
GP> Are they also in libimagehlp.a?
Yes, they are. At least im mingw-runtime 3.9 (I'm using this version).
GP> llvm[2]: Linking Debug executable tblgen
GP> C:/msys/1.0/home/llvm/build/Debug/lib/libLLVMSystem.a(Signals.o): In
How did you call make? Could you run make VERBOSE=1 and let me see
the actual command line passe...
2005 Sep 14
1
[LLVMdev] How to compile llvm with mingw on Windows ?
I'm trying to compile llvm (cvs head) on windows (WinXP sp2) using the
lastest mingw, but I'm getting the link errors found below. It seems that
the tools are not being linked with win32 api lib (libimagehlp.a and
libpsapi.a) which defines the missing symbols. The TOOLS_VERBOSE link
command is at the end of the mail and does not contain those libraries.
The configure line I'm using is:
../configure --enable-optimized --enable-jit --enable-targets="host-only" --prefix=/e/prg/vc/llvm-cvs...
2006 May 13
1
[LLVMdev] Building Tools on MinGW from CVS
I was building tools just fine last weekend, but now something has
changed...
The problem is that it can't find some symbols: (SymSetOptions,
SymInitialize, SymGetModuleBase, SymFunctionTableAccess, etc.)
I looked on the Web and these functions are in Dbghelp.lib.
Are they also in libimagehlp.a?
(BTW: does someone know a tool to examin the exported symbols in a MinGW
foo.a library?)
I'm trying to figure out what has changed since last weekend so that now
my tools build is failing.
I'm trying to build according to Anton's instructions. I have changed my
gcc version:
$ gcc...