www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/09/22/17:07:03

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT sourceware DOT cygnus DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
From: Chris Faylor <cgf AT cygnus DOT com>
Date: Wed, 22 Sep 1999 17:07:03 -0400
To: David Yeh <theyeh AT uclink DOT berkeley DOT edu>
Cc: cygwin AT sourceware DOT cygnus DOT com
Subject: Re: Distributing packages that use cygwin
Message-ID: <19990922170703.A1465@cygnus.com>
Reply-To: cygwin AT sourceware DOT cygnus DOT com
Mail-Followup-To: David Yeh <theyeh AT uclink DOT berkeley DOT edu>,
cygwin AT sourceware DOT cygnus DOT com
References: <4 DOT 1 DOT 19990921011647 DOT 00a2ae50 AT uclink4 DOT berkeley DOT edu>
Mime-Version: 1.0
X-Mailer: Mutt 0.95.6i
In-Reply-To: <4.1.19990921011647.00a2ae50@uclink4.berkeley.edu>; from David Yeh on Tue, Sep 21, 1999 at 01:20:09AM -0700

On Tue, Sep 21, 1999 at 01:20:09AM -0700, David Yeh wrote:
>Is it possible to use cygwin to compile an application from source and
>distribute it as a binary without making the users install all of cygwin?
>If so, what are some possible problems?  For example, what if the
>application needed access to the file structure?  (namely, tmp)  Woule the
>application have to be modified and recompiled with no filestrucutre
>dependencies?

It's possible to only release your program and cygwin1.dll as long as
you understand that both your program and cygwin1.dll are distributed
under the GPL, i.e., you must release source code in conformance with
the GNU Public License.

If you are using /tmp then there will have to be a /tmp directory on
the user's system.  It should be no problem to create this directory
in your program if it does not exist.

>Also, is it a good idea to make future cygwin releases include the tmp as
>implicit in the file structure (as dev and proc are) and just link it to
>whatever the TEMP directory under windows is.

/dev is not really an implicit directory.  /proc is not special in any
way.  Cygwin does not do anything special with it.

Personally, I don't think that creating a /tmp directory is either a
difficult or odious task so it is not likely that there will be any
changes to cygwin in this regard.

-Chris Faylor
-Win32 Manager
-Cygnus Solutions

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019