Displaying 1 result from an estimated 1 matches for "loadlibraryexactnam".
Did you mean:
loadlibraryexactname
2003 May 22
1
[LLVMdev] allow gcc .... /full/path/to/libfoo.a
...of gcc ... -L/full/path/to -lFOO
you say gcc ... /full/path/to/libFOO.a) which many GNU Makefiles try to do.
This patch fixes that.
Ok to commit?
--
gaeke at uiuc.edu
gccld.cpp:
Fix typo in header.
Add IsArchive static method.
Roll LoadLibraryFromDirectory() into LoadLibrary(), and factor
LoadLibraryExactName() out of the result. Instead of treating the current
directory specially, just insert it into LibPaths in the beginning of
main().
Make LoadLibrary() take a "search" flag that says whether to search for the
correct library, or just trust that LibName is right.
Make LinkLibrary()...