Mail Archives: djgpp/1996/05/10/06:07:44
I was wandering why putting empty wildcard globbing and environmet file
loading functions to a library and linking with it won't replace the original
ones in the final exec. Eli said this should work. I've got it!!! Eli, the
above functions are called from *within* libc itself, so ld finds them in
libc as well and never looks anywhere else. So simple.
Martynas
BTW, gcc driver does not substitute -l<lib> into lib<lib>.a . It passes the
-l<lib> options along to ld, which does the `demangling' itself.
P.S. the DLL thread: using no linker does not sound like a good idea to me:
object files are BIG. I think what we need is a smart linker (who will
try to write one?)
- Raw text -