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: Problem after updating and reinstalling.

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

It shows:
AL@Alecia-PC ~
$ ls -i $(which gcc)
1688849860496757 /usr/bin/gcc

"l" as lake not "i" as idea

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 (

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.


Welcome to cygwin Marco

Problem reports:
Unsubscribe info:

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