Displaying 3 results from an estimated 3 matches for "errors_llvm".
2009 Dec 11
0
[LLVMdev] Rebuilding LLVM libraries with LLVM-GCC on Windows
...ut.exe `llvm-config --ldflags --libs x86 core system
support`
gave me the errors found in the attached file "errors_gcc.txt". And
$ llvm-g++ out.s -o out.exe `~/llvm-2.6-gcc/bin/llvm-config --ldflags --libs
x86 core system support`
gave me the errors found in the attached file "errors_llvm-gcc.txt".
I found it interesting that the attempt to link with the LLVM libs built
with gcc caused several "multiple definition" errors, whereas the attempt to
link with the libs built by llvm-gcc cause no multiple definitions but many
more stdcall-fixup warnings.
Both attempts...
2009 Dec 10
2
[LLVMdev] Rebuilding LLVM libraries with LLVM-GCC on Windows
"Michael Ness" <mike at liquido2.com> writes:
> I decided to forget 2.5 and move on to 2.6 which built fine with CMake.
> However, I continue to have problems with llvm-config when using the
> following command:
>
> $ llvm-g++ out.s -o out `llvm-config --ldflags --libs core support system
> x86`
>
> I consistently get undefined reference errors that are
2009 Dec 11
3
[LLVMdev] Rebuilding LLVM libraries with LLVM-GCC on Windows
...s x86 core
> system support`
>
> gave me the errors found in the attached file "errors_gcc.txt". And
>
> $ llvm-g++ out.s -o out.exe `~/llvm-2.6-gcc/bin/llvm-config --ldflags
> --libs x86 core system support`
>
> gave me the errors found in the attached file "errors_llvm-gcc.txt".
You are working with an assembler file. Why?
You don't need to enumerate the base libraries. Something like
llvm-config --ldflags --libs x86
should suffice. In the next message, please show the output of that
command. Maybe the `--ldflags' is adding stuff to the command l...