Porting of unix to NT

Darius.Clynes@cec.eu.int Darius.Clynes@cec.eu.int
Tue Jul 10 09:54:00 GMT 2001


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@yahoo.com ]
>Sent: Tuesday, July 10, 2001 2:57 PM
>To: cygwin@cygwin.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/
>

-------------- next part --------------
 export TWO_TASK=test
 export DISPLAY=127.0.0.1:0.0
 export PRINTER=\\\\PRINTSRV\\PT-810794
 export LOGNAME=$USERNAME
 export USER=$USERNAME
 export HOME=.
cd /your_c_directory
./your_c_program.exe
cd /

-------------- next part --------------
A non-text attachment was scrubbed...
Name: example.bat
Type: text/x-msdos-batch
Size: 149 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20010710/0c73b085/attachment.bin>


More information about the Cygwin mailing list