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 Message-Id: <5.2.0.9.2.20030320100415.028c1cc0@pop3.cris.com> X-Sender: rrschulz AT pop3 DOT cris DOT com Date: Thu, 20 Mar 2003 10:09:08 -0800 To: cygwin AT cygwin DOT com From: Randall R Schulz Subject: Re: fsplit problems In-Reply-To: <35B8493A746C1A4896CE671D03E25BC54A08DA@umr-mail8.umr.edu> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Tyson, Cygwin does not emulate the Linux operating system at a binary executable level. It implements POSIX APIs in terms of Windows APIs. It has a great deal of FSF / GNU software, but that software is compiled specifically for Cygwin. There's no binary compatibility. If the tool you want is not already available (it appears not to be a part of the Cygwin stock distribution), you can probably compile it under Cygwin. If the source has not been ported to Cygwin (in particular to accommodate the fact that Cygwin has a dual form of file access: text and binary modes), you probably want to use it only on binary mounted Cygwin file systems or with CYGWIN "binmode" set. Your diagnostics come from a file being marked executable (in the file modes / chmod sense) but not being recognized as a valid binary for the system under which the exec(2) was attempted. The shell then tries to interpret the file as a script. Shell syntax errors ensue. Randall Schulz At 09:54 2003-03-20, Bourbina, Tyson Derrik (UMR-Student) wrote: >I was trying to use the same fsplit executable that I use under Redhat >Linux, but with Cygwin, it gives this error: > >./fsplit: 1: syntax error: "(" unexpected > >after typing: > >./fsplit > >at the prompt (i.e. there was no "(" typed). It also gives the same >error when I try using the fsplit executable to split a file. Your >help would be appreciated. > >Regards, >Tyson Bourbina -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/