delorie.com/archives/browse.cgi | search |
From: | Damian Yerrick <MYNAMEISd_yerrick AT hotmail DOT comNO2CANNEDHAM> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: shell scripts in DJGPP |
Organization: | Pin Eight Software http://pineight.8m.com/ |
Message-ID: | <qsbu9sgidtcp1joppauhrukrhf8ckao8ff@4ax.com> |
References: | <389F23E1 DOT F2C3AB13 AT mail DOT utexas DOT edu> |
X-Newsreader: | Forte Agent 1.7/32.534 |
MIME-Version: | 1.0 |
Lines: | 34 |
X-Trace: | /bJ8XThF6IcCKz9ruzvYrHE4B1fTgMutPTNnPSR9Dsij4+lY6TcMkbaqYgnHkPoc1jRngJEvF93V!bl6gVG9ioIB/tF6SKl9ArA2mHVgg0tfx3blFb6GtrJIGD5CaKQbAYeqM373otbP7tH3t+mCH6g== |
X-Complaints-To: | abuse AT gte DOT net |
X-Abuse-Info: | Please be sure to forward a copy of ALL headers |
X-Abuse-Info: | Otherwise we will be unable to process your complaint properly |
NNTP-Posting-Date: | Mon, 07 Feb 2000 20:54:46 GMT |
Distribution: | world |
Date: | Mon, 07 Feb 2000 20:54:46 GMT |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
On Mon, 07 Feb 2000 13:58:26 -0600, Sherlock Campbell <scampbell AT mail DOT utexas DOT edu> wrote: >I am new to DJGPP (and Unix, for that matter) and have run >into a problem. I have a c program that I need to compile >and run on a Win98 desktop. It is a fairly complex program >with several makefiles and lots of executables. I set it up >and compiled it successfully on a Solaris Unix system. Does it also work on a GNU system (i.e. Linux)? >So far, I have been able to compile it using DJGPP but I >cannot get the shell scripts to run. They all begin with >'#!/bin/sh' and bash.exe and sh.exe are in my PATH statements. >If I run 'sh', then the scripts are available, but from my >regular DOS prompt it reads 'bad command or file name' when >I try to run the scripts. Command is a crappy shell. It doesn't even understand #!/ headers or even # comments. Try typing the word bash before the script's filename. Or try this: ===== begin config.bat ===== @echo off bash configure ===== end config.bat ===== -- Damian Yerrick http://yerricde.tripod.com/ Comment on story ideas: http://home1.gte.net/frodo/quickjot.html AOL is sucks! Find out why: http://anti-aol.org/faqs/aas/ View full sig: http://www.rose-hulman.edu/~yerricde/sig.html
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |