Link error with TOOLLINKOPTS=-ldbghelp on MinGW

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

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@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.