Displaying 3 results from an estimated 3 matches for "lpath2".
Did you mean:
path2
2004 Oct 25
1
[LLVMdev] Link error with TOOLLINKOPTS=-ldbghelp on MinGW
.... I think g++ may only search
>>linker paths that are specified before a library is specified.
>>
>>Perhaps you need to make sure that all library paths are specified before
>>listing the libraries to link in.
>>
>>In other words,
>>
>>g++ -Lpath1 -Lpath2 -ldbghelp -lSystem
>>
>>...instead of...
>>
>>g++ -ldbghelp -lSystem -Lpath1 -Lpath2
>>
>>Just a guess; can anyone verify this?
>>
>
>That's my understanding too.
>
>REid.
>
>_______________________________________________
>LLVM Dev...
2004 Oct 25
0
[LLVMdev] Link error with TOOLLINKOPTS=-ldbghelp on MinGW
...ore the LLVM
libraries (libSystem and libsupport) are linked in. I think g++ may
only search linker paths that are specified before a library is specified.
Perhaps you need to make sure that all library paths are specified
before listing the libraries to link in.
In other words,
g++ -Lpath1 -Lpath2 -ldbghelp -lSystem
...instead of...
g++ -ldbghelp -lSystem -Lpath1 -Lpath2
Just a guess; can anyone verify this?
-- John T.
>
> --------------------------
> make[2]: Entering directory `/C/Projects/build/MinGW/llvm/utils/TableGen'
> Linking Debug executable tblgen
> /C/Proj...
2004 Oct 23
2
[LLVMdev] Link error with TOOLLINKOPTS=-ldbghelp on MinGW
Hi LLVM'ers
When linking tblgen tool I get below error message on MinGW.
I have put TOOLLINKOPTS=-ldbghelp in Makefile.config.
However, when rearranging library dbghelp to the end of the g++
line, tblgen gets linked.
--------------------------
make[2]: Entering directory `/C/Projects/build/MinGW/llvm/utils/TableGen'
Linking Debug executable tblgen
/C/Projects/build/MinGW/llvm/mklib