problem using gcc with cygwin-1.35

Lester Ingber ingber@ingber.com
Thu Nov 15 15:08:00 GMT 2001


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@ingber.com  ingber@alumni.caltech.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/



More information about the Cygwin mailing list