[PATCH] Re: [Mingw-users] binutils 20040120-1 & VC6 .lib incompatibility?
Christian Groessler
chris@groessler.org
Thu Feb 5 10:46:00 GMT 2004
On 04.02.2004 15:50:35 EST "Eric Youngdale" wrote:
>
> pnt = strrchr (is3->the_bfd->filename, '.');
>! if (pnt != NULL && strcmp (pnt, ".dll") != 0)
>! continue;
You compare the file extention to ".dll". What about dlls which are
named differently?
I think there is a field in the PE structure which distinuishes exes
and dlls. Probably it would be better to check this field.
Just my 2 cents...
chris
More information about the Binutils
mailing list