Date: Fri, 03 Aug 2001 11:16:48 +0300 From: "Eli Zaretskii" Sender: halo1 AT zahav DOT net DOT il To: sandmann AT clio DOT rice DOT edu (Charles Sandmann) Message-Id: <3405-Fri03Aug2001111647+0300-eliz@is.elta.co.il> X-Mailer: Emacs 20.6 (via feedmail 8.3.emacs20_6 I) and Blat ver 1.8.9 CC: djgpp-workers AT delorie DOT com In-reply-to: <10108030445.AA17985@clio.rice.edu> (sandmann@clio.rice.edu) Subject: Re: Strip on Windows 2000 References: <10108030445 DOT AA17985 AT clio DOT rice DOT edu> Reply-To: djgpp-workers AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp-workers AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > From: sandmann AT clio DOT rice DOT edu (Charles Sandmann) > Date: Thu, 2 Aug 2001 23:45:52 -0500 (CDT) > > Running GNU strip 2.11.2 (standard build, not based on CVS libc) under > Windows 2000 I see the error message: > > c:/djgpp/bin/strip.exe: invd.exe: rename: Not enough memory (ENOMEM) > > I would swear I have seen this discussed on the workers list but I can't > find a reference searching for it. Yes, it's a known problem with _rename in v2.03 (W2K reports a strange error code when you try rename a file into a name that's already taken, and that confuses _rename's logic). It's fixed in the CVS, so if you check out _rename.c, compile it, put it into libc.a and rebuild Binutils, you should be fine. I think a work-around is to set LFN=n when you link (but I'm not 100% sure).