Object file in the search path

Daniel Jacobowitz drow@false.org
Fri Feb 25 13:19:00 GMT 2005


On Thu, Feb 24, 2005 at 02:31:35PM -0800, Shaun Jackman wrote:
> The INPUT(FILE) directive of the linker script searches through the
> library search path for the specified object file. Is there a way to
> specify an object file on the command line that should be searched
> for, perhaps ld --input FILE?
> 
> Please cc me in your reply. Thanks!

No, there isn't.  We have a patch around here somewhere to support
"-l:FILE" which does basically what you want, though - let me know if
you want me to dig up a copy.

-- 
Daniel Jacobowitz
CodeSourcery, LLC



More information about the Binutils mailing list