Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
X-Authenticated: #14308112
Date: Thu, 4 Aug 2005 14:20:44 +0300
From: Pavel Tsekov <ptsekov@gmx.net>
X-X-Sender: ptsekov@mordor
To: Gansta93 <webmaster@gansta93.com>
cc: cygwin@cygwin.com
Subject: Re: Problem with exec and some suggestions
In-Reply-To: <005601c598e2$d9891e00$0303a8c0@wanadoo.adsl>
Message-ID: <Pine.CYG.4.58.0508041420060.1552@mordor>
References: <005601c598e2$d9891e00$0303a8c0@wanadoo.adsl>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Y-GMX-Trusted: 0
X-IsSubscribed: yes

Hello,

On Thu, 4 Aug 2005, Gansta93 wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> > That's exactly what exec is for: transfer all control to the
> > program you specified. When it ends, everything ends: the command
> > shell and the window it lives in.
> >
> > Just leave out the exec prefix.
> >
> > Stein
>
> Hello,
> Thanks. But when I just type the executable name, I have the message:
> "./pbcompiler: ./pbcompiler: Cannot execute binary file."
> where ofcourse pbcompiler is the executable I want to execute. Why?
> What can I do?
> Thanks in advance.
> Patrick

What is the output of the following command ?

ls -l pbcompiler

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

