This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]