delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/01/31/10:14:59

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.2 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
Date: Sun, 31 Jan 2010 10:14:43 -0500
Message-ID: <37bd06461001310714t1a02aee0x43cdca0b4d8a3218@mail.gmail.com>
Subject: gcc command not found
From: Paul Cantalupo <pcantalupo AT gmail DOT com>
To: Cygwin mailing list <cygwin AT cygwin DOT com>
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

Hello,

I recently upgraded my cygwin installation from 1.5.x to 1.7.1 without
what seemed to be any problems. Then I tried to compile a Perl Module
called GD and I get this error:

    gcc: command not found

I've never had this problem before the upgrade to 1.7. Then I checked
for gcc in various bin directories but all I see is this:

    (1005) foo:~ $ ls -l /usr/bin/gcc*
    -rwxr-xr-x 2 LUPEY Administrators   94741 2009-02-25 05:14
/usr/bin/gcc-3.exe*
    -rwxr-xr-x 3 LUPEY Administrators 1223182 2009-12-11 03:24
/usr/bin/gcc-4.exe*

I also noticed various other compiler names were missing like cpp, and
g++. Here is a long listing of these files:

   (1015) foo:~ $ ls -l /usr/bin/g++*
   -rwxr-xr-x 1 LUPEY Administrators   96789 2009-02-25 05:14
/usr/bin/g++-3.exe*
   -rwxr-xr-x 4 LUPEY Administrators 1225742 2009-12-11 03:24
/usr/bin/g++-4.exe*
   (1016) foo:~ $ ls -l /usr/bin/cpp*
   -rwxr-xr-x  1 LUPEY Administrators   96277 2009-02-25 05:14
/usr/bin/cpp-3.exe*
   -rwxr-xr-x  1 LUPEY Administrators 1224718 2009-12-11 03:23
/usr/bin/cpp-4.exe*

It seems that maybe the various symbolic links to these executables
were not created upon the upgrade to 1.7.1. So, then I tried to
uninstall and then reinstall gcc-core (gcc-core-3.4.4-999.tar.bz2) and
gcc-g++ (gcc-g++-3.4.4-999.tar.bz2). But this failed to work since the
output I show above is what I did after the reinstallation.

Any ideas on what I should try next? I'm about ready to backup my
existing installation and try to create a whole brand-new cygwin
installation.

Thank you for your help,

Paul

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