Displaying 1 result from an estimated 1 matches for "lgreputils".
2009 Oct 07
1
[LLVMdev] Linking library files using llvmc
...2, gzip, grep etc. I found that
when llvmc is used to link libraries (.a or .so files) using the -l option
it passes the library files to the linker ( for me it was llvm-gcc itself)
but changes the order in which it was given to llvmc.
Eg: the command: " llvmc -o grep.o -v -opt grep.o -L../ -lgreputils " is
executed as
llvm-gcc -L../ -lgreputils grep.o -o grep
Note that the library files are pushed to front in llvm-gcc even though it
was given as the last option to llvmc. Due to this llvm-gcc is not able to
resolve the calls made in grep.o to the functions contained in greputils
l...