delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/01/14/09:46:19

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-0.2 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <4B4E3547.4090708@cern.ch>
References: <4B4E3547 DOT 4090708 AT cern DOT ch>
Date: Thu, 14 Jan 2010 15:45:59 +0100
Message-ID: <1ef5a52f1001140645l6c0f9f22p2dc4ad494bbbf641@mail.gmail.com>
Subject: Re: gcc does not execute - why ?
From: Csaba Raduly <rcsaba AT gmail DOT com>
To: cygwin AT cygwin DOT com
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 Wed, Jan 13, 2010 at 10:04 PM, Luca Bottura <Luca DOT Bottura AT cern DOT ch> wrote:
> I have a puzzling behaviour trying to run gcc (and the other gnu compilers)
> right after installing cygwing 1.7.1 on Pentium running XP, and adding gcc
> (using the gcc installer helper for the selection of packages in setup). The
> command
>
> gcc-3 test.c
>
> is executed but has no effect. No object, no executable, no message.

What does the following print?

gcc-3 -v test.c

Watch out for:
1) The output is called a.exe, not test.exe
2) "test" is a shell (sh, bash) built-in. If you create a test.exe and
the run test, it will run the built-in, not your test.exe

-- 
Life is complex, with real and imaginary parts

--
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