Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Date: Sat, 24 Nov 2001 20:45:54 -0600 From: Lester Ingber To: cygwin AT cygwin DOT com Subject: problem using gcc with cygwin-1.35 Message-ID: <20011124204554.A18189@ingber.com> Reply-To: Lester Ingber Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.23i X-URL: http://www.ingber.com/ X-URL-ALT: http://www.alumni.caltech.edu/~ingber/ Ive seen some similar reports on the mailing list, but here is a specific incident trying to just compile hello.c: ------------8<------------ top cut -> bottom ------------->8------------ int main (); int main () { printf("hello\n"); return 0; } ------------8<------------ bottom cut <- top ------------->8------------ I'm getting: ------------8<------------ top cut -> bottom ------------->8------------ 0 [main] gcc 1456 proc_subproc: Couldn't duplicate my handle<0x30> for pid 864, Win32 error 6 Bad Command or file name /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 ------------8<------------ bottom cut <- top ------------->8------------ I don't know if this is related (I just started using cygwin, to write quick DLLs for other programs), but when I log in, I get into /home/ingber just fine, but I always see: ------------8<------------ top cut -> bottom ------------->8------------ 0 [main] bash 1132 init_cygheap::etc_changed: Can't open /etc for checking Win32 error 87 ------------8<------------ bottom cut <- top ------------->8------------ Every file has owner ingber, as I installed it for myself. (I previously installed it as Administrator, with the same problems reported above.) Thanks. Lester -- Prof. Lester Ingber ingber AT ingber DOT com ingber AT alumni DOT caltech DOT edu www.ingber.com www.alumni.caltech.edu/~ingber -- 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/