Primaria Falticeni SDU wrote:
> When I link the Visual C++ 6.0 libs in gcc, I received the warnings:
> ***.drctve not recognized.
> I think it's a lib parsing problem. Please help. I tried with in
> Visual C++: lib x.lib /CONVERT /OUT:xnew.lib and no good result. The
> same warnings when I used xnew.lib for linking.
Search on google for ".drctve" and you will find some information:
INCLUDELIB can be used to pass other directives to the linker. What
INCLUDELIB does is to embed a "-defaultlib:" directive in the special
".drctve" pseudo-section (see Microsoft definition of the COFF format
for more information on that special section).
So it seems the library requires other libraries as well. And maybe you
can ignore the warning if linking is OK.