Syntax error: "(" unexpected

Larry Hall (RFK Partners, Inc) lhall@rfk.com
Tue May 7 07:55:00 GMT 2002


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/



More information about the Cygwin mailing list