X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=0.7 required=5.0 tests=AWL,BAYES_50,RCVD_IN_DNSWL_LOW,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Message-ID: <20100807222339.gwq7fz62o04g8w8s@webmail.bangor.ac.uk> Date: Sat, 07 Aug 2010 22:23:39 +0100 From: cbsa01 AT bangor DOT ac DOT uk To: moss AT cs DOT umass DOT edu Cc: llio AT testun DOT co DOT uk, cygwin AT cygwin DOT com Subject: Re: Moses with Cygwin on Windows 7 References: <009b01cb3572$08902780$19b07680$@co.uk> <4C5C1C67 DOT 8060508 AT cs DOT umass DOT edu> In-Reply-To: <4C5C1C67.8060508@cs.umass.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Internet Messaging Program (IMP) H3 (4.1.3) X-BU-User: cbsa01 X-BU-MailScanner: Found to be clean, Found to be clean X-BU-MailScanner-SpamCheck: nid sbam/not spam (goddefadwy/whitelisted), nid sbam/not spam (goddefadwy/whitelisted), SpamAssassin (not cached, sgor/score=0.55, yn ofynnol/required 4.5, autolearn=disabled, NO_REAL_NAME 0.55) X-BU-MailScanner-Information: Please contact the ISP for more information X-MailScanner-ID: o77LNfbl014515 X-BU-MailScanner-From: cbsa01 AT bangor DOT ac DOT uk Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Dear Eliot, many thanks for your reply. On why we need cygwin: the language model=20= =20 we use is IRSTLM. The native windows build of Moses does not currently=20= =20 use IRSTLM LMs. I have been reading up a bit about debasing DLLs, and I gather from=20=20 http://www.codeproject.com/KB/DLL/RebaseDll.aspx that the purpose is=20=20 to avoid either two or more DLLs using the same preferred base=20=20 addresses, or the overheads of relocation. However, on=20=20 http://social.msdn.microsoft.com/Forums/en-US/vcgeneral/thread/bac7e300-f3d= f-4087-9c4b-847880d625ad, it is suggested that from Vista onwards, it is be= tter to leave this to the operating systems's ASLR (Address space layout ra= ndomization) in order to help defeat a ?return-to-libc? attack. Do you agre= e with this? If it is still necessary to do a rebase, what does your script= do that rebaseall=20=20 doesn't? Re UAC prompts: this does look annoying but corporate security=20=20 regulations may prevent us from turning it off completely. Is there=20=20 some way to turn it off for individual programs without using=20=20 third-party software? Thank you, Llio Humphreys Quoting Eliot Moss : > Cygwin under Windows 7 works fine for me. The things > I noticed were: > > - It was helpful to some things, especially perl and things > built from it, to rebase all the dlls. I have a script > for that, though rebaseall may do it for you. > > - Since I am just a single user, etc., I disable the Windows > Vista/7 UAC controls so that more things run without annoying > popups to ask permission (and some things just won't run > without further fiddling if UAC is on). > > I think people have resolved UAC issues with further work, > but it seems to be a topic that comes up from time to time. > That is, for sophisticated things it can be tricky to get > them going with UAC on. > > A quick glance at Moses suggests that it can just be done > under regular Windows using Visual Studio, so why cygwin at all? > > -- Eliot Moss ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple