From: Eli Zaretskii Newsgroups: comp.os.msdos.djgpp Subject: Re: Problems with strip on Windows 2000 Date: Sat, 22 Jan 2000 09:56:30 +0200 Organization: NetVision Israel Lines: 20 Message-ID: <388962AE.B698C42C@is.elta.co.il> References: <86ahpj$iv6$1 AT news DOT tis-in DOT trb> NNTP-Posting-Host: ras1-p17.rvt.netvision.net.il Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: news.netvision.net.il 948527787 19170 62.0.172.19 (22 Jan 2000 07:56:27 GMT) X-Complaints-To: abuse AT netvision DOT net DOT il NNTP-Posting-Date: 22 Jan 2000 07:56:27 GMT X-Mailer: Mozilla 4.7 [en] (Win98; I) X-Accept-Language: en,ru,hebrew To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Steve Chapel wrote: > > c:\c++>gpp test.cpp -o test.exe > c:\c++>strip -v test.exe > copy from test.exe(coff-go32-exe) to staaaaaa(coff-go32-exe) > c:/opt/djgpp/bin/strip.exe: test.exe: rename: Invalid argument (EINVAL) > > I'm using Windows 2000 build 2128, and gcc 2.95.2. Windows 2000 has yet to enter the mainstream of DJGPP development and testing. So consider yourself on the bleeding edge ;-) That usually means that you will have to investigate the problem deeper and tell here the gory details. Since in this case, it seems like the `rename' function is failing, it would be a good idea to write a simple test program that calls `rename' in the same way as strip does, and see whether it fails in the same way. If it does, then please step inside `rename' with a debugger and tell what the problem is. Oh, and please tell the version of strip.exe ("strip --version" should tell), since this is the program which fails.