This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: [Patch] Strip path components from internal dll name
- From: Ben Elliston <bje at au dot ibm dot com>
- To: binutils at sources dot redhat dot com
- Date: 18 Jan 2005 11:07:49 +1100
- Subject: Re: [Patch] Strip path components from internal dll name
- References: <20050115100649.30939.qmail@web50910.mail.yahoo.com>
Danny Smith <danny_smith_0000@yahoo.co.nz> writes:
> The MS utilities avoid the import lib problem by disallowing pathnames
> as a NAME or LIBRARY arg in a .def file. For example, with this def file
>
> LIBRARY "c:/foo.dll"
> EXPORTS
> foo
>
> the comamnd
> lib /MACHINE:IX86 /DEF:foo.def
>
> results in following:
> foo.def : warning LNK4093: Drive/Directory component ignored in
> "LIBRARY" statement
> Creating library foo.lib and object foo.exp
>
> The following patch does same for ld and dlltool.
Can you please check the (new) .DEF file documentation to see if it
needs updating? Thanks,
Ben