Date: prev next · Thread: first prev next last
2016 Archives by date, by thread · List index


I think it's because I created tommath.lib using the ar linux command,
and the result is slightly different from the .lib file that msvc
expects.[1][2]

indeed, Cygwin's ar can't be used.


I corrected this, thought I have the same error.

According to the msvc manual [1] either the file does not exist (it's
not the case), or I should add the directory containing tommath.lib
with /LIBPATH directly.
In our case, it's made by the gcc-wrapper, which adds the directories
after -L options to the LIB env. variable. The compiler searches in
LIB after /LIBPATH directories. So I think it's good too.
However, I tried to pass libtommath directory with the LIBPATH option,
it does not help either with windows path (cygpath -w) or mixed.

I don't know if it's because the msvc compiler cannot handle UNIX
style absolute paths (as it is added with -L), but I think it's not
the case as well, since in other externals I saw that after the -L
option a UNIX form of path name come.
Someone had a similar issue here: [2], I'll examie it if you don't
have a better idea.

[1] https://msdn.microsoft.com/en-us/library/y6b12xkc.aspx
[2] https://lists.gnu.org/archive/html/bug-libtool/2013-11/msg00004.html

rgs,

Tamás

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.