From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16397 invoked by alias); 26 Feb 2006 22:53:59 -0000 Received: (qmail 16389 invoked by uid 22791); 26 Feb 2006 22:53:59 -0000 X-Spam-Check-By: sourceware.org Received: from bay102-f23.bay102.hotmail.com (HELO hotmail.com) (64.4.61.33) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sun, 26 Feb 2006 22:53:58 +0000 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Sun, 26 Feb 2006 14:53:55 -0800 Message-ID: Received: from 64.4.61.200 by by102fd.bay102.hotmail.msn.com with HTTP; Sun, 26 Feb 2006 22:53:54 GMT X-Sender: bjdarrer2@hotmail.com From: "Brendan Darrer" To: gcc-help@gcc.gnu.org Cc: bjdarrer2@hotmail.com Bcc: Subject: Re: gcc question Date: Sun, 26 Feb 2006 22:53:00 -0000 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org X-SW-Source: 2006-02/txt/msg00225.txt.bz2 Hi, I have a problem compiling and running a simple gcc programme. directory contains: a.exe main.cpp main.exe I have greated main.exe using " gcc main.cpp -o main " I have tried typing " main " & " main.exe " error message - " bash: main.exe: command not found " What suggestions can you give to solve this. Regards, Brendan Darrer