I use the following:

errno, sterror_r, open, close, mmap, munmap, ftruncate, fstat (for file
size), lseek,  read, and write

Apparently the Windows equivalent to mmap is CreateFileMapping.  If
there's a windows user out there who wants native calls and is willing
to help #ifdef, contact me.  I proudly do not have a Windows machine and
it's not really on a priority for me.

On 07/16/11 01:17, Hieu Hoang wrote:
> ah, excellent,
> 
> there's quite a few people using moses on cygwin but this is the 1st
> time i've seen a howto document.
> 
> i noticed a couple of things:
>   1. Makefile.WIN32 and check-dependencies.WIN32 has been deleted. They
> weren't kept up to date, so I blitzed it.
>   2. You can compile SRILM, IRSTLM and KenLM on cygwin. Using the
> Internal LM is a bad idea.
> 
> ps. now you're at the Motherlode, can you bend someone's ear and get
> them to release an LM that runs natively on Windows, ie. compiles with
> Visual Studio. Every C++ part of Moses already does but it bugs me not
> to have the decoder run natively on windows
> 
> On 16/07/2011 05:32, Amittai Axelrod wrote:
>>
>> Hullo Moses-folk:
>>
>>  
>>
>> I’ve written what I think is the first step-by-step guide to
>> installing and compiling Moses on Windows (7), using Cygwin.
>>
>> Hopefully this will make it easier for people to use the most common
>> open-source MT system on the most common OS.
>>
>> Plus, it addresses this FAQ:
>> http://www.statmt.org/moses/?n=Moses.FAQ#ntoc9
>>
>>  
>>
>> Read v1.00 here:
>>
>> http://ssli.ee.washington.edu/people/amittai/Moses-on-Win7.pdf
>>
>>  
>>
>> I wrote this with the goal of finding _/a/_ working solution, not an
>> _/elegant/_ one, so please send me comments / complaints / fixes /
>> improvements, and I will happily both update the document and credit you.
>>
>>  
>>
>> Best,
>>
>> ~amittai
>>
>> --
>>
>> subvert from within
>>
>>  
>>
>>
>>
>> _______________________________________________
>> Moses-support mailing list
>> [email protected]
>> http://mailman.mit.edu/mailman/listinfo/moses-support
> 
> 
> _______________________________________________
> Moses-support mailing list
> [email protected]
> http://mailman.mit.edu/mailman/listinfo/moses-support
_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to