Re: Problem compiling goffice under MSYS2

2021-01-20 Thread Morten Welinder
It turns off "long double" support in the api.  The error you showed suggests
that the C library doesn't have the necessary support.  Also, from memory,
the win32 library isn't sufficiently accurate to make compiling with long double
meaningful.

The linker warnings suggest that it wants .so files.  I don't know where you
would get those, but wait and see if it actually matters.

M.
___
gnumeric-list mailing list
gnumeric-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gnumeric-list


Re: Problem compiling goffice under MSYS2

2021-01-20 Thread Frederic Parrenin via gnumeric-list

Le 20/01/2021 à 00:26, Morten Welinder a écrit :

--without-long-double

Thanks Morten.
Could you please elaborate a bit on this option?
Why is it necessary on win32 and not Linux?
Which consequences does it have? (I reckon, less precise calculations, 
but appart from that?)
Is it a problem if you exchange .gnumeric files with somebody who does 
not have the same option on his/her Gnumeric?


Also, goffice now compiles but there are a lot of warnings (see below 
for an example).

Is there something we can do about them?

Thanks and all the best,

Frédéric



*** Warning: This system cannot link to static lib archive 
C:/msys64/mingw64/lib/libgsf-1.la.

*** I have the capability to make that library automatically link in when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have.

*** Warning: linker path does not have real file for library -lws2_32.
*** I have the capability to make that library automatically link in when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have
*** because I did check the linker path looking for a file starting
*** with libws2_32 and none of the candidates passed a file format test
*** using a file magic. Last file checked: 
C:/msys64/mingw64/x86_64-w64-mingw32/lib/libws2_32.a


*** Warning: linker path does not have real file for library -lz.
*** I have the capability to make that library automatically link in when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have
*** because I did check the linker path looking for a file starting
*** with libz and none of the candidates passed a file format test
*** using a file magic. Last file checked: C:/msys64/mingw64/lib/libz.dll.a

*** Warning: linker path does not have real file for library -lgdi32.
*** I have the capability to make that library automatically link in when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have
*** because I did check the linker path looking for a file starting
*** with libgdi32 and none of the candidates passed a file format test
*** using a file magic. Last file checked: 
C:/msys64/mingw64/x86_64-w64-mingw32/lib/libgdi32.a


*** Warning: linker path does not have real file for library -limm32.
*** I have the capability to make that library automatically link in when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have
*** because I did check the linker path looking for a file starting
*** with libimm32 and none of the candidates passed a file format test
*** using a file magic. Last file checked: 
C:/msys64/mingw64/x86_64-w64-mingw32/lib/libimm32.a


*** Warning: linker path does not have real file for library -lshell32.
*** I have the capability to make that library automatically link in when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have
*** because I did check the linker path looking for a file starting
*** with libshell32 and none of the candidates passed a file format test
*** using a file magic. Last file checked: 
C:/msys64/mingw64/x86_64-w64-mingw32/lib/libshell32.a


*** Warning: linker path does not have real file for library -lole32.
*** I have the capability to make that library automatically link in when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have
*** because I did check the linker path looking for a file starting
*** with libole32 and none of the candidates passed a file format test
*** using a file magic. Last file checked: 
C:/msys64/mingw64/x86_64-w64-mingw32/lib/libole32.a


*** Warning: linker path does not have real file for library -lwinmm.
*** I have the capability to make that library automatically link in when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have
*** because I did check the linker path looking for a file starting
*** with libwinmm and none of the candidates passed a file format test
*** using a file magic. Last file checked: 
C:/msys64/mingw64/x86_64-w64-mingw32/lib/libwinmm.a


*** Warning: linker path does not have real file for library -ldwmapi.
*** I have the capability to make that library automatically link in when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have
*** because I did check the linker path looking for a file starting
*** with libdwmapi and none of the candidates passed a file format test
*** using a file magic. Last file checked: 

Re: Problem compiling goffice under MSYS2

2021-01-19 Thread Morten Welinder
--without-long-double
___
gnumeric-list mailing list
gnumeric-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gnumeric-list