From: Earnie B. <ea...@us...> - 2013-02-11 17:01:46
|
On Mon, Feb 11, 2013 at 11:55 AM, jojelino wrote: > Could you please check whether the third-party library has any .rsrc > section in them? > If manifest entry are given in .rsrc section, manifest > file(.exe.manifest) cannot be read during initialization of process. > And, although you forced using msvcr90 by modifying spec file, but in > cases of linking with shared-library of libgcc,libstdc++, import table > of these shared library are not affected by just changing spec file. > if you can run objdump -p /~any-path-gcc-runtime-library-is-in~/libgcc*.dll > you can see there is import entry to msvcrt.dll regardless of what did > you linked with. > so you need to specify -static-lib{gcc,stdc++} or it would have no > effect like you expected. True, you may need to rebuild those libraries to completely avoid msvcrt.dll. -- Earnie -- https://sites.google.com/site/earnieboyd |