This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

gcc command not found


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]