This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: Syntax error: "(" unexpected
- From: "Larry Hall (RFK Partners, Inc)" <lhall at rfk dot com>
- To: "Yi Xiong" <yxiongcuny at hotmail dot com>, cygwin at cygwin dot com
- Date: Tue, 07 May 2002 10:53:03 -0400
- Subject: Re: Syntax error: "(" unexpected
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@rfk.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/