Re: Unexpected Win32 success story

Andreas Beck (becka@rz.uni-duesseldorf.de)
Fri, 13 Aug 1999 01:34:55 +0200

Hi !

> Using the current CVS source, I was able to successfully configure and
> compile SANE on Win32 using CygWin 20.1.

Hmm - LibGGI, which also heavily uses dynamic library loading, works since
we used the very latest version of cywin. IIRC it is called 20.1b or
something ... wait ... sorry - deleted the file that would have told.
But it is announced on the cywin site.

> The DLL backend did not work (there where no .so.1 files),

Yes. You need to hack the backend to search for .dll and make sure they are
in the PATH. LibGGI uses a mapping file a la

module-name path/to/module.so

which can be easily autoconfed to use .dll on win.

> It seems like the porting will be a lot easier then I expected. All
> that is left is to get the DLL backend to work. :-)

No - the hard part is getting the HAL to work. I don't think cygwin will
try to emulate /dev/sg* on ASPI. But it is good to know, we have a working
development tool.

CU, Andy

-- 
= Andreas Beck                    |  Email :  <andreas.beck@ggi-project.org> =

--
Source code, list archive, and docs: http://www.mostang.com/sane/
To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com