This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: cygwin & windows application..


On Sat, 21 Feb 2004 vemuri@helixgenomics.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@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]