delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/02/21/09:25:23

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs
Date: Sat, 21 Feb 2004 09:23:19 -0500 (EST)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: vemuri AT helixgenomics DOT com
cc: cygwin AT cygwin DOT com
Subject: Re: cygwin & windows application..
In-Reply-To: <.220.226.55.120.1077368412.squirrel@www.helixgenomics.com>
Message-ID: <Pine.GSO.4.56.0402210917180.29632@slinky.cs.nyu.edu>
References: <.220 DOT 226 DOT 55 DOT 238 DOT 1077302351 DOT squirrel AT www DOT helixgenomics DOT com> <Pine DOT GSO DOT 4 DOT 56 DOT 0402201402410 DOT 16128 AT slinky DOT cs DOT nyu DOT edu> <.220 DOT 226 DOT 55 DOT 120 DOT 1077368412 DOT squirrel AT www DOT helixgenomics DOT com>
MIME-Version: 1.0
X-Scanned-By: MIMEDefang 2.39

On Sat, 21 Feb 2004 vemuri AT helixgenomics DOT com wrote:

> Dear all,
>
>       Suppose that I have developed an application (app.exe) using cygwin.
>
> Is it mandatory to have cgywin installed on the client system to run that
> application 'app.exe'? Is there any work around for this ?
>
> Is there any way of making app.exe which can work with out constraints?
>
> Practically, it may not be a good porting philosophy for cygwin,
> if cygwin becomes mandatory on every system for running an application
> developed by cygwin.
>
> Thank you for any help.
> Prasad.

Cygwin is a POSIX emulation layer.  If you want the full POSIX emulation
provided by Cygwin (i.e., POSIX paths, system call semantics, etc), you'll
have to have Cygwin on the target machine -- no ifs or buts about it.
If, however, you simply use Cygwin as a development environment (e.g., use
gcc to compile the code, make to manage your projects, etc), perhaps the
MinGW project may be of help.  FYI, Cygwin's gcc has a MinGW target, which
is invoked by passing the "-mno-cygwin" flag to gcc.  If your project
builds with "-mno-cygwin", the resulting executable won't require Cygwin
on the target machine.

Note that if you get "missing functionality" errors with "-mno-cygwin", it
will probably be non-trivial to port the project to MinGW.  Also note that
if you have any problems using the "-mno-cygwin" flag, all questions and
complaints should go to the MinGW mailing lists, and not the Cygiwn ones.
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton

--
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/

- Raw text -


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