This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Patch] Strip path components from internal dll name


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]