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: <4.3.1.2.20020507105023.0263dbb8@pop.ma.ultranet.com> X-Sender: lhall AT pop DOT ma DOT ultranet DOT com Date: Tue, 07 May 2002 10:53:03 -0400 To: "Yi Xiong" , cygwin AT cygwin DOT com From: "Larry Hall (RFK Partners, Inc)" Subject: Re: Syntax error: "(" unexpected In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" At 09:32 AM 5/7/2002, Yi Xiong wrote: >When I run executable files in cygwin, I encountered the following >error: > >Note: "a.out" is a executable file, which can be run in redhat, > >$ ./a.out >./a.out: 1: Syntax error: "(" unexpected If this executable can be run with Red Hat Linux (I'm assuming that's what you mean), then it definitely won't run here. You can only run executables that have been built for the Windows platform. It's pretty much the same issue as trying to run a Solaris executable on Linux (or HP-UX, or Windows, etc.) Larry Hall lhall AT rfk DOT com RFK Partners, Inc. http://www.rfk.com 838 Washington Street (508) 893-9779 - RFK Office Holliston, MA 01746 (508) 893-9889 - FAX -- 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/