Re: PNet 0.6.4 for MinGW (back-port)

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

> I've got your email. UNIX_PIPES is a shortcut to #if 
> defined(HAVE_FORK) && defined(HAVE_EXECV) && (defined(HAVE_WAITPID) || 
> defined(HAVE_WAIT))

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

> . I don't know about the second problem with errno.h - if it requires 
> changing the 'configure' script, I can't do that because I'm not 
> really familiar with it (I don't even have Linux); I'd really 
> appreciate if you could help me with this problem.

You should be able to use my MSYS and msysDTK to build it on Win32. 

>
> However, the real problem for me (because related to MinGW) is that 
> now it doesn't support very long command lines (e.g. parameters with 
> 50,000 chars) I'm currently working on it.

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.

Earnie.

-- 
http://www.mingw.org
http://sourceforge.net/projects/mingw
https://sourceforge.net/donate/index.php?user_id=15438
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.