[liblouis-liblouisxml] Re: Building with Cygwin

  • From: James Teh <jamie@xxxxxxxxxxx>
  • To: liblouis-liblouisxml@xxxxxxxxxxxxx
  • Date: Sat, 17 Jan 2009 08:49:15 +1000

On 17/01/2009 8:45 AM, Michel such wrote:
When I build Liblouis with mingw, it effectively creates a dll called
liblouis-1.dll.
Ah. So this isn't Cygwin specific.
I just renamed this dll in liblouis.dll and used it with NVDA and it
works fine.
This is what I do. However, this will cause it not to work with the liblouis tools; lou_checktable, etc.

I just don't know why it names it liblouis-1.
In Unix, the version number is included in the library name; e.g. liblouis.so.1. I suspect mingw (or probably autotools) is trying to simulate this for Windows. I wonder if there is a way to disable it. Alternatively, I guess we could change the Python bindings to use liblouis-1.dll.

Inicidentally, the size of the produiced dll is much bigger than the one
we originally had in NVDA.
Simply apply strip against it, to get it to n eqivalent size.
Thanks - I forgot to mention this in my instructions.

--
James Teh
Email/MSN Messenger/Jabber: jamie@xxxxxxxxxxx
Web site: http://www.jantrid.net/
For a description of the software and to download it go to
http://www.jjb-software.com

Other related posts: