delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT sources DOT redhat DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT sources DOT redhat DOT com> |
List-Help: | <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT sources DOT redhat DOT com |
Delivered-To: | mailing list cygwin AT sources DOT redhat DOT com |
Message-ID: | <A7AF87D6496DD411B50A00D0B76DEB2C1E6F58@EX2BEBREYMBX02> |
From: | Darius DOT Clynes AT cec DOT eu DOT int |
To: | cygwin AT cygwin DOT com |
Subject: | RE: Porting of unix to NT |
Date: | Tue, 10 Jul 2001 18:54:42 +0200 |
MIME-Version: | 1.0 |
X-Mailer: | Internet Mail Service (5.5.2650.21) |
------_=_NextPart_000_01C10961.03C40420 Content-Type: text/plain; charset="iso-8859-1" here is how i do it. to make a double clickable cygwin compiled executable under NT: 1) make a .bat file (starts bash and calls the shell script) 2) make a shell script to set environment variables 3) make a user shortcut to the .bat file enclosed is an example.bat and a a_script.sh >-----Original Message----- >From: subramani Srinivasan [mailto:ns_srini AT yahoo DOT com] >Sent: Tuesday, July 10, 2001 2:57 PM >To: cygwin AT cygwin DOT com >Subject: Porting of unix to NT > > >Greetings, > >We have successfully installed cywin exe. Like we have >written a 'c' program in unix os. we want to run in >WindowsNT.I would like to know how to execute the same >'c' program in WindowsNT ,is there any commands to do >so, >please reply your suggestions. > >Thanks'q' > > > >__________________________________________________ >Do You Yahoo!? >Get personalized email addresses from Yahoo! Mail >http://personal.mail.yahoo.com/ > >-- >Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple >Bug reporting: http://cygwin.com/bugs.html >Documentation: http://cygwin.com/docs.html >FAQ: http://cygwin.com/faq/ > ------_=_NextPart_000_01C10961.03C40420 Content-Type: application/octet-stream; name="a_script.sh" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="a_script.sh" export TWO_TASK=3Dtest=0A= export DISPLAY=3D127.0.0.1:0.0=0A= export PRINTER=3D\\\\PRINTSRV\\PT-810794=0A= export LOGNAME=3D$USERNAME=0A= export USER=3D$USERNAME=0A= export HOME=3D.=0A= cd /your_c_directory=0A= ./your_c_program.exe=0A= cd /=0A= =0A= ------_=_NextPart_000_01C10961.03C40420 Content-Type: application/octet-stream; name="example.bat" Content-Disposition: attachment; filename="example.bat" @echo off SET MAKE_MODE=unix SET CYGNUS=binmode ntea tty SET CYGWIN=binmode ntea tty SET PATH=.;c:\cygwin\bin;%PATH% cd c:\cygwin bash a_script.sh ------_=_NextPart_000_01C10961.03C40420 Content-Type: text/plain; charset=us-ascii -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/ ------_=_NextPart_000_01C10961.03C40420--
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |