Jason Tishler writes:
> Is there any way to get ld to tell us this information without
> resorting to strings?
ld --verbose
Here's what I get on my two Cygwins.
$ uname -r
20.1 (0.3/1/1)
$ ld --verbose | grep -E 'version|SEARCH_DIR'
GNU ld version 2.9.4 (with BFD 2.9.4)
SEARCH_DIR(/lib); SEARCH_DIR(/usr/lib); SEARCH_DIR(/cygnus/cygwin-b20/H-i586-cyg
win32/lib); SEARCH_DIR(/usr/local/lib); SEARCH_DIR(/cygnus/cygwin-b20/H-i586-cyg
win32/i586-cygwin32/lib);
$ uname -r
1.1.4(0.26/3/2)
$ ld --verbose | grep -E 'version|SEARCH_DIR'
GNU ld version 2.10.91 (with BFD 2.10.91)
SEARCH_DIR(/lib); SEARCH_DIR(/usr/lib); SEARCH_DIR(/usr/local/lib); SEARCH_DIR(/
usr/i686-pc-cygwin/lib);
--
Pete Forman -./\.- Disclaimer: This post is originated
WesternGeco -./\.- by myself and does not represent
pete.forman@westerngeco.com -./\.- opinion of Schlumberger, Baker
http://www.crosswinds.net/~petef -./\.- Hughes or their divisions.