delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-Spam-Check-By: | sourceware.org |
Date: | Wed, 9 Apr 2008 16:16:29 -0400 |
From: | Christopher Faylor <cgf-use-the-mailinglist-please AT cygwin DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: Using windows text mode without setup.exe |
Message-ID: | <20080409201629.GA6841@ednor.casa.cgf.cx> |
Reply-To: | cygwin AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
References: | <20080409145136 DOT b3kibhnxhcwscws0 AT webmail DOT seas DOT upenn DOT edu> |
MIME-Version: | 1.0 |
In-Reply-To: | <20080409145136.b3kibhnxhcwscws0@webmail.seas.upenn.edu> |
User-Agent: | Mutt/1.5.16 (2007-06-09) |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
On Wed, Apr 09, 2008 at 02:51:36PM -0400, mjumbe AT seas DOT upenn DOT edu wrote: >I am developing an application that links with the Cygwin dll (i.e. I >don't want people to have to have a Cygwin install on their computers). >The application needs read from and write to files in text mode (i.e. >using CRLF format). This works fine on my development machine, because >I can just use the Cygwin setup program to specify the Windows text >mode as default. However, when I package up my distribution with the >Cygwin dll and install it elsewhere, the program writes UNIX linefeeds. > >Please, is there some way to specify that Windows text mode should be >used without going through the Cygwin setup program? Should it be done >automatically and I'm just missing something? > >As per the reporting guidelines, I am attaching the output from >cygcheck -s -v -r. Other people have answered the technical aspects of your question but I wanted to remind you that if you are supplying a cygwin DLL you still have to abide by the GPL. That means that you need to make the source code for both your program *and* the cygwin DLL available under the terms mentioned at http://cygwin.com/licensing.html. cgf -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |