[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mingw-users
Subject:    Re: [Mingw-users] How to implement a unix-style inetd server in MinGW
From:       "Luke Dunstan" <coder_infidel () hotmail ! com>
Date:       2005-09-30 16:21:36
Message-ID: BAY101-DAV970A91199B37BB2986FC78A8F0 () phx ! gbl
[Download RAW message or body]


----- Original Message ----- 
From: "Dan Osborne" <dan.osborne@stoke.ramesys.com>
To: <mingw-users@lists.sourceforge.net>
Sent: Wednesday, September 28, 2005 11:22 PM
Subject: RE: [Mingw-users] How to implement a unix-style inetd server in 
MinGW


> Luke wrote:
>> I see, but be aware that MSYS is really only intended to be used as an
>> environment for building software, not as a Unix emulator (that's what
>> Cygwin is for), so it will probably be difficult. Is there a
>> specific reason
>> why you are using MinGW+MSYS and not Cygwin?
>>
>
> I started using Cygwin and compiled the application using it but then got
> stung by the GPL - management didn't like the idea of releasing our source
> code. Having switched to MinGW/MSYS for the application build I really 
> just
> wanted to keep things simple. In hindsight perhaps I should have stuck to
> cygwin and used the no-cygwin compiler switch but I found it difficult to
> mix the two.
>
> Halfway through my move from Cygwin to MinGM/MSYS I realised that MSYS was 
> a
> build environment but I think it is probably sufficient for my needs.
>
> So guidance on how to run an MSYS batch through CreateProcess would be 
> much
> appreciated.


I think you would need to execute the "sh.exe -c" command.

Also note that if you redistribute MSYS then you need to provide sources 
because it is GPL, but your software doesn't need to be open source because 
it is not linked with MSYS if you use the MinGW compiler.

Luke

> I also appreciate the wider discussion!
>
> Dan


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
MinGW-users mailing list
MinGW-users@lists.sourceforge.net

You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic