[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Advice on "clean:" rule for Win32 platform needed...

From: Eli Zaretskii
Subject: RE: Advice on "clean:" rule for Win32 platform needed...
Date: Sun, 31 Mar 2002 07:51:42 +0200 (IST)

On Sat, 30 Mar 2002, Bryan Miller wrote:

> However
> this work is for a client and they aren't crazy about having to install
> yet-another-thing on their system and have to maintain it.

Then what about using the other trick I suggested (with wildcards)?

> Does anyone know what the buffer size limit is for cmd.exe on NT 4.0+ and 
> Win2k?

There should be no limits, at least not limits that you should hit in 
your scenario.  I suspect that your commands use shell features, and so 
Make goes through a temporary batch file to run those commands.  Batch 
files is where the limits bite you.

So a solution would be to avoid using shell commands entirely; then Make 
should attempt to invoke the command directly, not via the shell.

In other words, throw together a simple version of `rm', compile it with 
the Windows compiler, and use it (with an explicit list of files to 
delete, not via a FOR loop) to remove those files.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]