delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-1.2 required=5.0 tests=BAYES_40,RCVD_IN_DNSWL_LOW |
X-Spam-Check-By: | sourceware.org |
Delivery-date: | Sat, 06 Feb 2010 13:06:46 +0100 |
Message-ID: | <4B6D5B52.5050708@uni-freiburg.de> |
Date: | Sat, 06 Feb 2010 13:06:42 +0100 |
From: | Andreas Zwerger <zwerger AT uni-freiburg DOT de> |
User-Agent: | Thunderbird 2.0.0.23 (Windows/20090812) |
MIME-Version: | 1.0 |
To: | Cygwin mailing list <cygwin AT cygwin DOT com> |
Subject: | Re: gcc command not found |
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'm having the same problem with the latest Cygwin install. But for me rerunning the postinstall scripts does not create the symlinks. Administrator AT haco-xyz ~ $ gcc bash: gcc: command not found $ ls /bin/gcc* -l -rwxr-xr-x 2 Administrator root 94741 2009-02-25 11:14 /bin/gcc-3.exe -rwxr-xr-x 3 Administrator root 1223182 2009-12-11 09:24 /bin/gcc-4.exe -rwxr-xr-x 1 Administrator root 16261 2009-02-25 11:08 /bin/gccbug-3 -rwxr-xr-x 1 Administrator root 16984 2009-12-11 09:07 /bin/gccbug-4 -rwxr-xr-x 1 Administrator root 2018 2006-06-12 01:31 /bin/gccmakedep $ ls -l /etc/postinstall/gcc* -rw-r--r-- 1 Administrator root 551 2009-02-25 11:15 /etc/postinstall/gcc-g++.sh.done -rw-r--r-- 1 Administrator root 345 2009-02-25 11:15 /etc/postinstall/gcc-g77.sh.done -rw-r--r-- 1 Administrator root 480 2009-02-25 11:15 /etc/postinstall/gcc-gdc.sh.done -rw-r--r-- 1 Administrator root 1204 2009-02-25 11:15 /etc/postinstall/gcc-gnat.sh.done -rw-r--r-- 1 Administrator root 424 2009-02-25 11:15 /etc/postinstall/gcc-gpc.sh.done -rw-r--r-- 1 Administrator root 2061 2009-02-25 11:15 /etc/postinstall/gcc-java.sh.done -rw-rw-rw- 1 Administrator root 4360880 2005-06-09 02:37 /etc/postinstall/gcc-mingw-ada-3.4.4-20050522-1.tgz -rwxrwxrwx 1 Administrator root 783 2005-06-09 02:37 /etc/postinstall/gcc-mingw-ada.sh.done -rw-rw-rw- 1 Administrator root 69347 2005-06-04 13:54 /etc/postinstall/gcc-mingw-core-3.4.4-20050522-1.tgz -rwxrwxrwx 1 Administrator root 787 2005-06-04 13:54 /etc/postinstall/gcc-mingw-core.sh.done -rw-rw-rw- 1 Administrator root 1964271 2005-06-04 13:52 /etc/postinstall/gcc-mingw-g++-3.4.4-20050522-1.tgz -rwxrwxrwx 1 Administrator root 783 2005-06-04 13:52 /etc/postinstall/gcc-mingw-g++.sh.done -rw-rw-rw- 1 Administrator root 63830 2005-06-09 13:58 /etc/postinstall/gcc-mingw-g77-3.4.4-20050522-1.tgz -rwxrwxrwx 1 Administrator root 783 2005-06-09 13:58 /etc/postinstall/gcc-mingw-g77.sh.done -rw-rw-rw- 1 Administrator root 278981 2005-06-09 14:03 /etc/postinstall/gcc-mingw-gdc-3.4.4-0.12.1.tgz -rwxrwxrwx 1 Administrator root 771 2005-06-09 14:03 /etc/postinstall/gcc-mingw-gdc.sh.done -rw-r--r-- 1 Administrator root 291282 2004-08-10 22:36 /etc/postinstall/gcc-mingw-gpc-3.2.3-20040516.tgz -rwxr-xr-x 1 Administrator root 777 2004-08-10 22:36 /etc/postinstall/gcc-mingw-gpc.sh.done -rw-rw-rw- 1 Administrator root 4665568 2005-06-04 13:53 /etc/postinstall/gcc-mingw-java-3.4.4-20050522-1.tgz -rwxrwxrwx 1 Administrator root 787 2005-06-04 13:53 /etc/postinstall/gcc-mingw-java.sh.done -rw-rw-rw- 1 Administrator root 55134 2005-06-04 13:55 /etc/postinstall/gcc-mingw-objc-3.4.4-20050522-1.tgz -rwxrwxrwx 1 Administrator root 787 2005-06-04 13:55 /etc/postinstall/gcc-mingw-objc.sh.done -rwxr-xr-x 1 Administrator root 718 2009-12-24 17:48 /etc/postinstall/gcc-tools-epoch1-autoconf.sh.done -rwxr-xr-x 1 Administrator root 295 2009-12-24 17:59 /etc/postinstall/gcc-tools-epoch1-automake.sh.done -rwxr-xr-x 1 Administrator root 718 2009-12-24 17:46 /etc/postinstall/gcc-tools-epoch2-autoconf.sh.done -rwxr-xr-x 1 Administrator root 297 2009-12-24 18:01 /etc/postinstall/gcc-tools-epoch2-automake.sh.done -rw-r--r-- 1 Administrator root 893 2009-02-25 11:15 /etc/postinstall/gcc.sh.done -rwxr-xr-x 1 Administrator root 1062 2009-12-11 09:23 /etc/postinstall/gcc4-ada.sh.done -rwxr-xr-x 1 Administrator root 1221 2009-12-11 09:23 /etc/postinstall/gcc4-core.sh.done -rwxr-xr-x 1 Administrator root 433 2009-12-11 09:23 /etc/postinstall/gcc4-fortran.sh.done -rwxr-xr-x 1 Administrator root 549 2009-12-11 09:23 /etc/postinstall/gcc4-g++.sh.done -rwxr-xr-x 1 Administrator root 3550 2009-12-11 09:23 /etc/postinstall/gcc4-java.sh.done Then I did: Administrator AT haco-xyz ~ $ chmod a+x /usr/bin/set-gcc-default* Administrator AT haco-xyz ~ $ chmod a+x /usr/sbin/fix-libtool-scripts-for-latest-gcc-runtimes.sh Administrator AT haco-xyz ~ $ for x in /etc/postinstall/{gcc.,gcc-[^tm],gcc4-}* ; > do > . $x > done sed -i -e /^sys_lib_search_path_spec=/ s|\(pc-cygwin\)/[34].[3-9].[0-9]|\1/4.3.4|g /usr/bin/libtool /usr/share/apr/build-1/libtool sed -i -e /^dependency_libs=/ s|\(pc-cygwin\)/[34].[3-9].[0-9]/\(lib[a-z_+]*.la\)|\1/4.3.4/\2|g /usr/lib/gcc/i686-pc-cygwin/4.3.4/libgcj-noncore.la /usr/lib/gcc/i686-pc-cygwin/4.3.4/libgcj-tools.la /usr/lib/gcc/i686-pc-cygwin/4.3.4/libgij.la /usr/lib/gcj-4.3.4-9/libjvm.la /usr/lib/libFLAC++.la /usr/lib/libncurses++.la /usr/lib/libncurses++w.la /usr/lib/libplotter.la /usr/lib/libtiffxx.la /usr/lib/libxerces-c.la $ ls /bin/gcc* -l -rwxr-xr-x 2 Administrator root 94741 2009-02-25 11:14 /bin/gcc-3.exe -rwxr-xr-x 3 Administrator root 1223182 2009-12-11 09:24 /bin/gcc-4.exe -rwxr-xr-x 1 Administrator root 16261 2009-02-25 11:08 /bin/gccbug-3 -rwxr-xr-x 1 Administrator root 16984 2009-12-11 09:07 /bin/gccbug-4 -rwxr-xr-x 1 Administrator root 2018 2006-06-12 01:31 /bin/gccmakedep Administrator AT haco-xyz ~ $ gcc bash: gcc: command not found Administrator AT haco-xyz ~ $ /bin/set-gcc-default-4.sh Administrator AT haco-xyz ~ $ gcc bash: gcc: command not found What did I forget or do wrong? Is there any way to get gcc working? Best regards, Andreas -- 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |