Re: PNet 0.6.4 for MinGW (back-port)

Maciek Plewa <[email protected]>
Newsgroups gmane.comp.gnu.dotgnu.developer
Message-ID <[email protected]>
Earnie Boyd wrote:

>
> With MinGW you would use _spawnv instead of fork and execv and _cwait 
> instead of waitpid.


I've used _cwait but I went with CreateProcess instead of _spawnv.

>
> You'll have to do what libtool does and split the line.  IIRC, the 
> limit is somewhere around 25000 dependent upon which flavor of windows.


It's 32768 chars, while for example csant passes about 48,000 chars when 
building pnetlib. I'll look at libtool, but now I'm thinking about using 
a response file, as suggested by Gopal.

So just to recap, the pnet version in the download link provided in the 
previous message works fine for most tasks, as long as the command line 
is less than 32,767 chars.


-- 
Maciek Plewa
Military Research and Simulations Initiative

http://mil-sim.net/contact
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.