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]

Re: [RFA] pei386 dll: auto-import patch


On Sun, Aug 05, 2001 at 11:09:42PM +0300, Paul Sokolovsky wrote:
>RC> 4) If so, how hard a patch to dlltool would that be?
>
>    I propose to deprecate dlltool - it stayed behind development for
>some time now (more precisely: ld's support of .def directives is more
>comprehensive than dlltool's, but you better ask DJ about this). You
>can do this now:
>
>> ld --shared foo.def -o foo.dll --out-implib=liba.a
>
>it does the job, but outputs undefineds:
>
>> Cannot export bar: symbol not defined
>> Cannot export foo: symbol not defined
>> Creating library file: liba.a
>
>It needs to be patched to suppress them. Note that -o is used to
>specify name to put into implib (alternatively, LIBRARY clause in .def
>can be used).

I think it is a good idea to deprecate dlltool.

Is there any chance that it could be rewritten as a shell script wrapper
for 'ld', somewhow?

cgf


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