Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 Date: Tue, 18 May 2004 14:56:37 -0500 From: Brian Ford Reply-To: cygwin AT cygwin DOT com To: bruno patin cc: cygwin AT cygwin DOT com Subject: Re: cygwin/matlab/xp In-Reply-To: <40AA5AB5.9050100@wanadoo.fr> Message-ID: References: <409E05C2 DOT 8090008 AT wanadoo DOT fr> <6 DOT 1 DOT 0 DOT 6 DOT 0 DOT 20040509143133 DOT 03100cd8 AT 127 DOT 0 DOT 0 DOT 1> <409E9374 DOT 7080403 AT wanadoo DOT fr> <40AA5AB5 DOT 9050100 AT wanadoo DOT fr> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 X-IsSubscribed: yes Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from QUOTED-PRINTABLE to 8bit by delorie.com id i4IJv7Kb026989 On Tue, 18 May 2004, bruno patin wrote: > Brian Ford a écrit : > >WAG: Check the line endings. Did you install with a different default > >option on XP? > > > >Just a probably bad guess. > > I think you speak of the line endings of the source code I compile ? No, I was wondering about the default line endings you chose at install time. I was also wondering if you were writing to a text mode mount. If the compiler you speak of does not use O_BINARY in its open call, then those things matter. A cygcheck output would be usefull to determine some of that. > My verification is really simple, the call from matlab is a call to a > fuinctin I use directly outside of matlab and even in xp cause no > problem. To complete, I compile under cygwuin an executable that use a > library that allows the creation of the matlab callable dll. You're calling a cygwin DLL (not -mno-cygwin) from matlab? I don't think this will work in the general sense. You may have been lucky before. > It works pretty well under nt and 2000 but not under xp. Same cygwin DLL version? I'm probably not going to be much more help here without a lot more information as I've never used matlab. -- Brian Ford Senior Realtime Software Engineer VITAL - Visual Simulation Systems FlightSafety International the best safety device in any aircraft is a well-trained pilot... -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/