Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Date: Fri, 27 Sep 2002 09:41:34 -0400
From: Christopher Faylor <cgf@redhat.com>
To: cygwin@cygwin.com
Subject: Re: Solution to:  Couldn't duplicate my handle & Win32 error 6 when using  gcc helloworld.c
Message-ID: <20020927134134.GB21822@redhat.com>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <5.1.0.14.0.20020927071215.00d6a2f0@pop.gmx.de>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <5.1.0.14.0.20020927071215.00d6a2f0@pop.gmx.de>
User-Agent: Mutt/1.4i

On Fri, Sep 27, 2002 at 07:16:51AM +0200, ukdip@gmx.de wrote:
>Hi guys.
>I present a solution to one of the cygwin on win2k problems:
>
>I ve read through the mailing list messages and found only one answer:
>complete new install
>
>OK. Anyway a solution. But not for me.
>
>So, what is the problem. If you download almost the complete net distrib 
>from cygwin
>and install it on win2k and try to compile a c file with gcc you (could) 
>get the following
>error messages:
>
>-precompiling works without error
>
>$ gcc -c helloworld.c
>    101 [main] gcc 1304 proc_subproc: Couldn't duplicate my handle<0x58> 
>for pid 1276, Win32 error 6
>
>Administrator@UWEA ~
>$ gcc helloworld.c
>     58 [main] gcc 1212 proc_subproc: Couldn't duplicate my handle<0x58> 
>for pid 540, Win32 error 6
>/usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-5/../../../../i686-pc-cygwin/bin/ld: 
>installation problem, cannot exec `/usr/lib/
>gcc-lib/i686-pc-cygwin/2.95.3-5/../../../../i686-pc-cygwin/bin/ld': Invalid 
>argument
>collect2: ld returned 255 exit status
>
>
>-hey, you poor system do not want to give me a stupid handle?
>- I think I will persuade you to give me one!!!
>
>$ gcc -v
>Reading specs from /usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-5/specs
>gcc version 2.95.3-5 (cygwin special)
>
>- great:  Et la lumiere fut. OK, the bible helps sometimes....
>
>
>solution:
>just deinstall gcc using setup.exe
>
>Wow,  really a great trick. Isn t it?
>
>
>I am not a unix expert and I am not interested in exploring the process of 
>installing
>cygwin, but I think there is something wrong with  the netinstaller!
>
>work on it!
>
>I did not check the autotools, only gcc

Just go away, ok?

Thanks.

cgf

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

