public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* gcc command not found....
@ 2001-11-08  3:11 June Tantoolvesm
  2001-11-08  3:43 ` Corinna Vinschen
  0 siblings, 1 reply; 11+ messages in thread
From: June Tantoolvesm @ 2001-11-08  3:11 UTC (permalink / raw)
  To: cygwin

Hello,

I was wondering if anyone could help me?

$gcc
bash: gcc: command not found

$find / -name "gcc*" -print
/etc/setup/gcc.lst.gz

Something similar happens when I try to run perl.

I used setup.exe version 2.78.2.15 on windows 2000.

I couldn't find help on this from the list archives...sorry
if it's already been answered. It seems a stupid question,
but I can't figure it out, sorry beforehand.

Thanks for your help.
June


=====
==================================
Why buy shampoo when you can get real poo for free?
----------------------------------
Working to protect human rights worldwide 
Amnesty International on-line http://www.amnesty.org/

__________________________________________________
Do You Yahoo!?
Find a job, post your resume.
http://careers.yahoo.com

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: gcc command not found....
  2001-11-08  3:11 gcc command not found June Tantoolvesm
@ 2001-11-08  3:43 ` Corinna Vinschen
  2001-11-08  3:58   ` June Tantoolvesm
  0 siblings, 1 reply; 11+ messages in thread
From: Corinna Vinschen @ 2001-11-08  3:43 UTC (permalink / raw)
  To: cygwin

On Thu, Nov 08, 2001 at 03:11:41AM -0800, June Tantoolvesm wrote:
> Hello,
> 
> I was wondering if anyone could help me?
> 
> $gcc
> bash: gcc: command not found
> 
> $find / -name "gcc*" -print
> /etc/setup/gcc.lst.gz
> 
> Something similar happens when I try to run perl.
> 
> I used setup.exe version 2.78.2.15 on windows 2000.
> 
> I couldn't find help on this from the list archives...sorry
> if it's already been answered. It seems a stupid question,
> but I can't figure it out, sorry beforehand.

Somehow your installation is screwed up.  Perhaps it's related
to your mount points.  Did you install for "just you" or for "all"?
Did you perhaps install twice in two different locations or
something?  Check if the mount points are correct and that your
user mount points don't incorrectly hide perhaps correct system
mount points.  

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: gcc command not found....
  2001-11-08  3:43 ` Corinna Vinschen
@ 2001-11-08  3:58   ` June Tantoolvesm
  2001-11-08  5:24     ` Corinna Vinschen
  0 siblings, 1 reply; 11+ messages in thread
From: June Tantoolvesm @ 2001-11-08  3:58 UTC (permalink / raw)
  To: Corinna Vinschen

Hello,

Thanks for such a quick reply.

I installed "for all" and just once. 

$mount
D:\cygwin\bin on /usr/bin type system (binmode)
D:\cygwin\lib on /usr/lib type system (binmode)
D:\cygwin on / type system (binmode)
c: on /cygdrive/c type user (textmode,noumount)
d: on /cygdrive/d type user (textmode,noumount)

How can I fix the mount points? Could the problem be
anywhere else?

...thanks a lot.

June

--- Corinna Vinschen <cygwin@cygwin.com> wrote:
> On Thu, Nov 08, 2001 at 03:11:41AM -0800, June
> Tantoolvesm wrote:
> > Hello,
> > 
> > I was wondering if anyone could help me?
> > 
> > $gcc
> > bash: gcc: command not found
> > 
> > $find / -name "gcc*" -print
> > /etc/setup/gcc.lst.gz
> > 
> > Something similar happens when I try to run perl.
> > 
> > I used setup.exe version 2.78.2.15 on windows 2000.
> > 
> > I couldn't find help on this from the list
> archives...sorry
> > if it's already been answered. It seems a stupid
> question,
> > but I can't figure it out, sorry beforehand.
> 
> Somehow your installation is screwed up.  Perhaps it's
> related
> to your mount points.  Did you install for "just you" or
> for "all"?
> Did you perhaps install twice in two different locations
> or
> something?  Check if the mount points are correct and
> that your
> user mount points don't incorrectly hide perhaps correct
> system
> mount points.  
> 
> Corinna
> 
> -- 
> Corinna Vinschen                  Please, send mails
> regarding Cygwin to
> Cygwin Developer                               
> mailto:cygwin@cygwin.com
> Red Hat, Inc.
> 
> --
> Unsubscribe info:     
> http://cygwin.com/ml/#unsubscribe-simple
> Bug reporting:         http://cygwin.com/bugs.html
> Documentation:         http://cygwin.com/docs.html
> FAQ:                   http://cygwin.com/faq/
> 


=====
==================================
Why buy shampoo when you can get real poo for free?
----------------------------------
Working to protect human rights worldwide 
Amnesty International on-line http://www.amnesty.org/

__________________________________________________
Do You Yahoo!?
Find a job, post your resume.
http://careers.yahoo.com

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: gcc command not found....
  2001-11-08  3:58   ` June Tantoolvesm
@ 2001-11-08  5:24     ` Corinna Vinschen
  0 siblings, 0 replies; 11+ messages in thread
From: Corinna Vinschen @ 2001-11-08  5:24 UTC (permalink / raw)
  To: cygwin

On Thu, Nov 08, 2001 at 03:58:09AM -0800, June Tantoolvesm wrote:
> Hello,
> 
> Thanks for such a quick reply.
> 
> I installed "for all" and just once. 
> 
> $mount
> D:\cygwin\bin on /usr/bin type system (binmode)
> D:\cygwin\lib on /usr/lib type system (binmode)
> D:\cygwin on / type system (binmode)
> c: on /cygdrive/c type user (textmode,noumount)
> d: on /cygdrive/d type user (textmode,noumount)
> 
> How can I fix the mount points? Could the problem be
> anywhere else?

Dunno.  Try reinstalling the packages you have problems with
or dump the whole installation and install everything again.

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: gcc command not found
  2010-02-06 12:06 Andreas Zwerger
@ 2010-02-06 13:29 ` Andreas Zwerger
  0 siblings, 0 replies; 11+ messages in thread
From: Andreas Zwerger @ 2010-02-06 13:29 UTC (permalink / raw)
  To: Cygwin mailing list

Andreas Zwerger schrieb:
> 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@haco-xyz ~
> $ gcc
> bash: gcc: command not found

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

OK, problem solved!
Weird enough the reason was an old version of cygwin1.dll in c:/windows 
directory which was used by cygwin instead of the one in cygwin-bin-dir 
(since c:/windows comes first in path variable). No idea where that file 
came from, but there were even more files in c:/windows from cygwin - 
those are removed now, and gcc works perfectly!

I found that out by calling C:/cygwin/usr/sbin/alternatives.exe from 
windows-explorer which then gave me an error window saying that the 
procedure entry point "__ctype_ptr__" was not found in "cygwin1.dll" so 
I started searching for cygwin1.dll on my system and found the old 
version in windows directory.

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

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: gcc command not found
@ 2010-02-06 12:06 Andreas Zwerger
  2010-02-06 13:29 ` Andreas Zwerger
  0 siblings, 1 reply; 11+ messages in thread
From: Andreas Zwerger @ 2010-02-06 12:06 UTC (permalink / raw)
  To: Cygwin mailing list

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@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@haco-xyz ~
$ chmod a+x /usr/bin/set-gcc-default*

Administrator@haco-xyz ~
$ chmod a+x /usr/sbin/fix-libtool-scripts-for-latest-gcc-runtimes.sh

Administrator@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@haco-xyz ~
$ gcc
bash: gcc: command not found

Administrator@haco-xyz ~
$ /bin/set-gcc-default-4.sh

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

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: gcc command not found
  2010-01-31 18:15 ` Dave Korn
@ 2010-01-31 18:42   ` Dave Korn
  0 siblings, 0 replies; 11+ messages in thread
From: Dave Korn @ 2010-01-31 18:42 UTC (permalink / raw)
  To: Cygwin Mailing List

On 31/01/2010 17:16, Dave Korn wrote:
> On 31/01/2010 16:33, Paul Cantalupo wrote:
> 
>> OK here is the output from "ls -l /etc/postinstall/gcc*"
> 
>   Argh.  Bad perms, gah.  Try this:
> 
> for x in /etc/postinstall/{gcc.,gcc-[^tm],gcc4-}* ;
> do
>   . $x
> done
> 
>   Then check in your bin dir for all the appropriate names and links.

  Oh, you will probably need to run these first:

chmod a+x /usr/bin/set-gcc-default*
chmod a+x /usr/sbin/fix-libtool-scripts-for-latest-gcc-runtimes.sh

  Then after it's all done you should be able to run either
"set-gcc-default-3.sh" or "set-gcc-default-4.sh" to set whichever version of
the compiler you want as your default.

    cheers,
      DaveK


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

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: gcc command not found
  2010-01-31 17:29 Paul Cantalupo
@ 2010-01-31 18:15 ` Dave Korn
  2010-01-31 18:42   ` Dave Korn
  0 siblings, 1 reply; 11+ messages in thread
From: Dave Korn @ 2010-01-31 18:15 UTC (permalink / raw)
  To: cygwin

On 31/01/2010 16:33, Paul Cantalupo wrote:

> OK here is the output from "ls -l /etc/postinstall/gcc*"

  Argh.  Bad perms, gah.  Try this:

for x in /etc/postinstall/{gcc.,gcc-[^tm],gcc4-}* ;
do
  . $x
done

  Then check in your bin dir for all the appropriate names and links.

    cheers,
      DaveK

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

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: gcc command not found
@ 2010-01-31 17:29 Paul Cantalupo
  2010-01-31 18:15 ` Dave Korn
  0 siblings, 1 reply; 11+ messages in thread
From: Paul Cantalupo @ 2010-01-31 17:29 UTC (permalink / raw)
  To: Cygwin mailing list

On 31/01/2010 15:14, Paul Cantalupo wrote:

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

  Nooo!  Don't go that far.  Let's check your postinstall scripts: run "ls -l
/etc/postinstall/gcc*", and copy-paste the results here.

    cheers,
      DaveK




OK here is the output from "ls -l /etc/postinstall/gcc*"

(1021) sirius:~ $ ls -l /etc/postinstall/gcc*
-rw-r--r--  1 LUPEY    Administrators     551 2009-02-25 05:15
/etc/postinstall/gcc-g++.sh.done
-rw-r--r--  1 LUPEY    Administrators     345 2009-02-25 05:15
/etc/postinstall/gcc-g77.sh.done
-rw-r--r--  1 LUPEY    Administrators     480 2009-02-25 05:15
/etc/postinstall/gcc-gdc.sh.done
-rw-r--r--  1 LUPEY    Administrators    1204 2009-02-25 05:15
/etc/postinstall/gcc-gnat.sh.done
-rw-r--r--  1 LUPEY    Administrators     424 2009-02-25 05:15
/etc/postinstall/gcc-gpc.sh.done
-rw-r--r--  1 LUPEY    Administrators    2061 2009-02-25 05:15
/etc/postinstall/gcc-java.sh.done
-rwxr-x---+ 1 ???????? Users          4360880 2005-06-08 20:37
/etc/postinstall/gcc-mingw-ada-3.4.4-20050522-1.tgz*
-rwxr-x---+ 1 ???????? Users              783 2005-06-08 20:37
/etc/postinstall/gcc-mingw-ada.sh.done*
-rwxr-x---+ 1 ???????? Users            69347 2005-06-04 07:54
/etc/postinstall/gcc-mingw-core-3.4.4-20050522-1.tgz*
-rwxr-x---+ 1 ???????? Users              787 2005-06-04 07:54
/etc/postinstall/gcc-mingw-core.sh.done*
-rwxr-x---+ 1 ???????? Users          1964271 2005-06-04 07:52
/etc/postinstall/gcc-mingw-g++-3.4.4-20050522-1.tgz*
-rwxr-x---+ 1 ???????? Users              783 2005-06-04 07:52
/etc/postinstall/gcc-mingw-g++.sh.done*
-rwxr-x---+ 1 ???????? Users            63830 2005-06-09 07:58
/etc/postinstall/gcc-mingw-g77-3.4.4-20050522-1.tgz*
-rwxr-x---+ 1 ???????? Users              783 2005-06-09 07:58
/etc/postinstall/gcc-mingw-g77.sh.done*
-rwxr-x---+ 1 ???????? Users           278981 2005-06-09 08:03
/etc/postinstall/gcc-mingw-gdc-3.4.4-0.12.1.tgz*
-rwxr-x---+ 1 ???????? Users              771 2005-06-09 08:03
/etc/postinstall/gcc-mingw-gdc.sh.done*
-rwxr-x---+ 1 ???????? Users           291282 2004-08-10 16:36
/etc/postinstall/gcc-mingw-gpc-3.2.3-20040516.tgz*
-rwxr-x---+ 1 ???????? Users              777 2004-08-10 16:36
/etc/postinstall/gcc-mingw-gpc.sh.done*
-rwxr-x---+ 1 ???????? Users          4665568 2005-06-04 07:53
/etc/postinstall/gcc-mingw-java-3.4.4-20050522-1.tgz*
-rwxr-x---+ 1 ???????? Users              787 2005-06-04 07:53
/etc/postinstall/gcc-mingw-java.sh.done*
-rwxr-x---+ 1 ???????? Users            55134 2005-06-04 07:55
/etc/postinstall/gcc-mingw-objc-3.4.4-20050522-1.tgz*
-rwxr-x---+ 1 ???????? Users              787 2005-06-04 07:55
/etc/postinstall/gcc-mingw-objc.sh.done*
-rw-r--r--  1 LUPEY    Administrators     893 2009-02-25 05:15
/etc/postinstall/gcc.sh.done
-rwxr-xr-x  1 LUPEY    Administrators    1221 2009-12-11 03:23
/etc/postinstall/gcc4-core.sh.done*
-rwxr-xr-x  1 LUPEY    Administrators     549 2009-12-11 03:23
/etc/postinstall/gcc4-g++.sh.done*


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

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: gcc command not found
  2010-01-31 16:58 Paul Cantalupo
@ 2010-01-31 17:05 ` Dave Korn
  0 siblings, 0 replies; 11+ messages in thread
From: Dave Korn @ 2010-01-31 17:05 UTC (permalink / raw)
  To: cygwin

On 31/01/2010 15:14, Paul Cantalupo wrote:

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

  Nooo!  Don't go that far.  Let's check your postinstall scripts: run "ls -l
/etc/postinstall/gcc*", and copy-paste the results here.

    cheers,
      DaveK

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

^ permalink raw reply	[flat|nested] 11+ messages in thread

* gcc command not found
@ 2010-01-31 16:58 Paul Cantalupo
  2010-01-31 17:05 ` Dave Korn
  0 siblings, 1 reply; 11+ messages in thread
From: Paul Cantalupo @ 2010-01-31 16:58 UTC (permalink / raw)
  To: Cygwin mailing list

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

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2010-02-06 13:29 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-11-08  3:11 gcc command not found June Tantoolvesm
2001-11-08  3:43 ` Corinna Vinschen
2001-11-08  3:58   ` June Tantoolvesm
2001-11-08  5:24     ` Corinna Vinschen
2010-01-31 16:58 Paul Cantalupo
2010-01-31 17:05 ` Dave Korn
2010-01-31 17:29 Paul Cantalupo
2010-01-31 18:15 ` Dave Korn
2010-01-31 18:42   ` Dave Korn
2010-02-06 12:06 Andreas Zwerger
2010-02-06 13:29 ` Andreas Zwerger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).