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]

Re: WinXP Pro Cygwin Digest-MD4-1.9 /bin/sh: gcc-4: command not found


On 01/05/2015 09:41 PM, David Christensen wrote:
cygwin:

I am having trouble installing the Perl Digest::MD4 module via the 'cpan'
command line program on Cygwin on Windows XP Professional.


I have filed a bug report via bug-Digest-MD4@rt.cpan.org:

     https://rt.cpan.org/Public/Bug/Display.html?id=101332


The maintainer observed:

     The 'gcc-4' wil be coming from your perl configuration, indicating
     that your perl was compiled with 'gcc-4'.


His observation appears to be correct:

     2015-01-05 18:38:47 dpchrist@dc8ct591 ~
     $ perl -V | grep gcc
         config_args='-de -Dlibperl=cygperl5_14.dll -Dcc=gcc-4 -Dld=g++-4
-Darchname=i686-cygwin-threads-64int -Dmksymlinks -Dusethreads -Accflags=-g'
         cc='gcc-4', ccflags ='-DPERL_USE_SAFE_PUTENV -U__STRICT_ANSI__ -g
-fno-strict-aliasing -pipe -fstack-protector',
         ccversion='', gccversion='4.5.3', gccosandvers=''


There is no 'gcc-4' in my Cygwin installation:

     2015-01-05 18:39:05 dpchrist@dc8ct591 ~
     $ which gcc-4
     which: no gcc-4 in
(/home/dpchrist/perl5/bin:/home/dpchrist/bin:/home/dpchrist/jdk1.7.0_25/bin:/usr/local/bin:/usr/bin:/bin:/cygdrive/c/WINDOWS/system32:/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/System32/Wbem:/cygdrive/c/Program
Files/Intel/DMIX:/cygdrive/c/Program Files/Common
Files/Acronis/SnapAPI:/usr/sbin)

gcc-4 is an old moniker for the current gcc, back when Cygwin had both 3 and
4 versions of gcc.  This is no longer true and hasn't been for quite some
time.  Your options at this point are:

  1. Create a link to gcc and call it gcc-4.
  2. Try the experimental 5.18 version.
  3. Install the x86_64 version of Cygwin (requires x86_64 version of
     Windows).

--
Larry

_____________________________________________________________________

A: Yes.
> Q: Are you sure?
>> A: Because it reverses the logical flow of conversation.
>>> Q: Why is top posting annoying in email?

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