Henrik Bach
2004-Oct-25 20:31 UTC
[LLVMdev] 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 _________________________________________________________________ Undg� pop-ups med MSN Toolbar - http://toolbar.msn.dk hent den gratis!
John Criswell
2004-Oct-25 20:38 UTC
[LLVMdev] Link error with TOOLLINKOPTS=-ldbghelp on MinGW
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/llvmdevWhen 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. * *********************************************************************
Possibly Parallel Threads
- [LLVMdev] Link error with TOOLLINKOPTS=-ldbghelp on MinGW
- [LLVMdev] Link error with TOOLLINKOPTS=-ldbghelp on MinGW
- [LLVMdev] Link error with TOOLLINKOPTS=-ldbghelp on MinGW
- [LLVMdev] Link error with TOOLLINKOPTS=-ldbghelp on MinGW
- [LLVMdev] LLVM tools sufficient to build the cfrontend for windows from MinGW?