I compiled a binutils for a custom target, and specified "./configure --prefix=foo --exec_prefix=arch/foo" at the top level binutils directory. During the build, it went into the "ld" directory and did a standard "./configure".
The compiled "ld" has a default search path of /lib:/usr/lib:/usr/local/lib, but not my exec_prefix/lib. The behavior should be that ld searches ${exec_prefix}/lib:/lib:/usr/lib:/usr/local/lib in that order. This can be done easily because ld's configure has a --with-lib-path option - but the toplevel binutils does not have any matching option nor does it propagate any such thing down. Can someone add --with-ld-lib-path to binutils' ./configure script, such that it will push down "--with-ld-path" to the lower level ld? Alternatively, can ld be modified to put ${exec_prefix}/lib in front of the default libs when compiling, if $exec_prefix is set? Thanks, Russ Fink -- Summary: need --with-lib-path = $exec_prefix for ld Product: binutils Version: unspecified Status: NEW Severity: normal Priority: P2 Component: ld AssignedTo: unassigned at sources dot redhat dot com ReportedBy: russfink at hotmail dot com CC: bug-binutils at gnu dot org http://sourceware.org/bugzilla/show_bug.cgi?id=1343 ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils