This is the mail archive of the
mailing list for the Cygwin project.
Re: Questions about porting from Linux to Windows...
On Jan 23 00:28, jano trouba wrote:
> In the examples you gave me of different applications (Hello), they are
> both LINKED via cgwin.
Yes, but the results are different. When using the -mno-cygwin flag
your build native Windows applications, when not using that flag you
build Cygwin applications.
> builder using static ".a" libraries compiled with the cygwin environment,
> with the -mwindow flag...
> So if I understood correctly what you told me in your last message, if I
> follow the above-mentioned procedure I should be in the clear both in the
> licensing side (not needing any licence fee) and in the runtime side (not
> needing cygwin DLL) (the libraries should contain WIN32 code).
> Is this correct ??
No. You have to use the -mno-cygwin flag. With just the -mwindows flag
you still create Cygwin code if the -mno-cygwin flag is not used.
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Project Co-Leader cygwin AT cygwin DOT com
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html