delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/01/13/16:04:20

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-0.7 required=5.0 tests=BAYES_20,SPF_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <4B4E3547.4090708@cern.ch>
Date: Wed, 13 Jan 2010 22:04:07 +0100
From: Luca Bottura <Luca DOT Bottura AT cern DOT ch>
User-Agent: Thunderbird 2.0.0.23 (Macintosh/20090812)
MIME-Version: 1.0
To: <cygwin AT cygwin DOT com>
Subject: gcc does not execute - why ?
X-CERN-Reverse-DNS: cernfe12.cern.ch
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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

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. 
Checking after the command the content of $? I get an exit code 1.

echo $?
1

Asking for compilation with -pass-exit-codes I get an highest exit code 127

gcc-3 -pass-exit-codes test.c
echo $?
127

I have apparently all the programs in place, i.e.

/lib/gcc/i686-pc-cygwin/3.4.4/cc1.exe
/lib/gcc/i686-pc-cygwin/3.4.4/f771.exe (I wish to compile with g77 as well)
/lib/gcc/i686-pc-cygwin/3.4.4/collect2.exe

and /lib/gcc/i686-pc-cygwin/3.4.4/ is in the path of the programs for 
the gcc front-end (checked with -print-search-dirs).

I am at loss... Any hint of what may be wrong in the installation ?

Many thanks, Luca

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