delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/12/14/13:33:32

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-5.5 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,KHOP_RCVD_TRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE,TW_LR,TW_RW,TW_WX,TW_XR
X-Spam-Check-By: sourceware.org
Message-ID: <50CB70E4.20600@gmail.com>
Date: Fri, 14 Dec 2012 19:33:08 +0100
From: marco atzeri <marco DOT atzeri AT gmail DOT com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/17.0 Thunderbird/17.0
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Problem after updating and reinstalling.
References: <1355458667667-94907 DOT post AT n5 DOT nabble DOT com> <50CAD4E3 DOT 5020401 AT gmail DOT com> <1355495794140-94918 DOT post AT n5 DOT nabble DOT com> <50CB4AF9 DOT 2070603 AT gmail DOT com> <1355507900075-94926 DOT post AT n5 DOT nabble DOT com>
In-Reply-To: <1355507900075-94926.post@n5.nabble.com>
X-IsSubscribed: yes
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

On 12/14/2012 6:58 PM, asallen08 wrote:
>> ?? On my system :
> $ ls -l $(which gcc)
> lrwxrwxrwx 1 marco None 21 Nov 13  2011 /usr/bin/gcc ->
> /etc/alternatives/gcc
>
> It shows:
> AL AT Alecia-PC ~
> $ ls -i $(which gcc)
> 1688849860496757 /usr/bin/gcc

"l" as lake not "i" as idea
>
>> Alecia,
>> have you noticed :
>>    "Warning: There are multiple cygwin1.dlls on your path"
>>
>>   2604k 2011/03/29 C:\cygwin\home\AL\cygwin1.dll - os=4.0 img=1.0 sys=4.0
>>                   "cygwin1.dll" v0.0 ts=2011/3/29 9:10
>>      Cygwin DLL version info:
>>          DLL version: 1.7.9
>>
>>   2791k 2012/10/19 C:\cygwin\bin\cygwin1.dll - os=4.0 img=1.0 sys=4.0
>>                    "cygwin1.dll" v0.0 ts=2012/10/19 13:39
>>      Cygwin DLL version info:
>>          DLL version: 1.7.17
>>
>>
>>
>> you need to remove the "C:\cygwin\home\AL\cygwin1.dll"
>> This is likely the responsible of your problem.
>
> I haven't noticed any of that. Once I deleted C:\cygwin\home\AL\cygwin1.dll
> I am now able to compile and run programs.
>
>> Additional suggestion, not relevant for the problem:
>> you seems to have installed a lot of gcc compiler
>>
>> but instead of the obsolete
>>
>> gcc-core                  3.4.4-999            OK
>> gcc-g++                   3.4.4-999            OK
>>
>> you could choose to install the next version
>>
>> gcc4                                     4.5.3-3
>> gcc4-core                                4.5.3-3
>>
>> Are you sure you need all the mingw compilers ?
>
> I am not sure what all I need. My professor just said go to the site and
> download Cygwin and use the default settings and that is what I did.

gcc4 is to compile on cygwin for cygwin.
So it is the standard one used to build the cygwin binaries.

The mingw compilers are cross-compilers.
They compile on cygwin for mingw/windows (http://www.mingw.org/)

> I will
> do some research and find out how to install the current versions of the
> suggested compilers. One final question should I now be using the Cygwin
> Terminal instead of Cygwin.bat shortcut?
>

"Cygwin Terminal" is the right (and best)  way

> Thanks again for your help and advice. I really appreciate it.
>
> Thanks,
> Alecia
>

Welcome to cygwin
Marco

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