delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/07/24/05:56:55

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Fri, 24 Jul 2009 11:56:15 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Running compiled c++ source code in Cygwin
Message-ID: <20090724095615.GH18621@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <2752 DOT 4436-12547-4440895-1248428812 AT post DOT cz>
MIME-Version: 1.0
In-Reply-To: <2752.4436-12547-4440895-1248428812@post.cz>
User-Agent: Mutt/1.5.19 (2009-02-20)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On Jul 24 11:46, Marek Capek wrote:
> Hello,
> I have compiled the file step-1.cc under cygwin without any error
> messages. Now I have problem to run step-1.exe, even though it is
> created. When I type wrong path to the executable It gives me
> bash:command not found. If the path is (according to me) correct, then
> command line prints newline and empty command line again encounters.
> It behaves like the program has done nothing, but he should have.
> I have also tried simple HelloWorld.cc, resp HelloWorld.exe and it
> works. Where could be the cause of error? I am newbie to Cygwin and i
> need to make some computations on windows machine.
> Please help me.

It all starts with using the right mailing list.  Please drop the
cygwin-apps and cygwin-developers list from the address list.  They have
nothing to do with your question.  See http://cygwin.com/lists.html

Second, see http://cygwin.com/problems.html.  Incidentally I also have a
source file called foobar.c which doesn't do what it should.  Can you
help me?  No?  See what I mean?  We have no idea what you're talking
about, unless you give us some details.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019