[LLVMdev] Link error with TOOLLINKOPTS=-ldbghelp on MinGW
John Criswell
criswell at cs.uiuc.edu
Mon Oct 25 13:38:52 PDT 2004
Henrik Bach wrote:
>> So, if I'm understanding you correctly, libdgbhelp is a library that
>> doesn't come with MinGW but can be installed on MinGW by the user if
>> it is needed. Am I correct?
>
>
> Yes.
>
>> If that's the case, I would say that it's the user's reponsibility to
>> install the library into /usr/lib or provide the configure script with
>> the appropriate -L options to find it (via the LDFLAGS environment
>> variable).
>
>
> Can you please give me an example how to use LDFLAGS, thank you.
>
> Henrik
>
> _________________________________________________________________
> UndgÄ pop-ups med MSN Toolbar - http://toolbar.msn.dk hent den gratis!
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
> http://mail.cs.uiuc.edu/mailman/listinfo/llvmdev
When you run configure, you'd do something like this:
configure --prefix=<...> LDFLAGS="-L<path where libdgbhelp is installed"
If you modify Makefile.config directly, just add the necessary -L option
to TOOLLINKOPTS. I believe that should fix it.
-- John T.
--
*********************************************************************
* John T. Criswell Email: criswell at uiuc.edu *
* Research Programmer *
* University of Illinois at Urbana-Champaign *
* *
* "It's today!" said Piglet. "My favorite day," said Pooh. *
*********************************************************************
More information about the llvm-dev
mailing list