From: David Allsopp Newsgroups: comp.os.msdos.djgpp Subject: Newbie question: program does nothing under bash Date: Mon, 8 Feb 1999 15:20:23 +0000 Organization: Tranquillity Software Ltd. Message-ID: NNTP-Posting-Host: tqbase.demon.co.uk X-NNTP-Posting-Host: tqbase.demon.co.uk:193.237.23.6 X-Trace: news.demon.co.uk 918487424 nnrp-11:24529 NO-IDENT tqbase.demon.co.uk:193.237.23.6 X-Complaints-To: abuse AT demon DOT net MIME-Version: 1.0 X-Newsreader: Turnpike (32) Version 4.01 Lines: 24 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com I've just got DJGPP, and so, of course, I started removing the rust from my C skills (and checking the installation) by writing the classic "hello world" program. Fine, compiled first time even :-). However, it only runs under an MS- DOS command.com window (W95). I have the GNU Unix utilities (grep, sed, awk, etc.), and generally work in a "bash" window. If I try to run the program from bash, nothing happens. I made the simple change of opening a file and writing a string out to that, in case there are stdout/stderr problems, but the program just seems to do nothing: no file is created. Again, if I run this from command.com, the file is created OK. So, is this a limitation? Am I doing something wrong? Do I need to compile in a particular way? This isn't a major problem (yet), but it's worrying that my first and very simple program does something odd... All help appreciated. -- David Allsopp Houston, this is Tranquillity Base. Remove SPAM to email me The Eagle has landed.