Date: Sun, 16 Feb 1997 19:31:03 -0600 From: martin AT fieldhouse DOT com Subject: djgpp bash under NT 4.0 Newsgroups: comp.os.msdos.djgpp Message-ID: <856142495.3914@dejanews.com> Reply-To: martin AT fieldhouse DOT com Organization: Deja News Usenet Posting Service Lines: 77 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Thanks to the kind help of Mr. John M. Aldrich, I currently have all required files downloaded, extracted and installed on my NT 4.0 Intel system - 64Mb, 133Mhz, 4Gb HD, plenty of resources. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Here's what I downloaded: v2/djdev201.zip (development environment) v2gnu/bsh1147b.zip (GNU bash shell) v2gnu/bnu27b.zip (GNU Binutils) v2gnu/gcc2721b.zip (gcc compiler) v2gnu/gpp2721b.zip (g++ compiler) v2gnu/lgp271b.zip (C++ libraries) v2/faq210b.zip (FAQ list) v2gnu/gdb416b.zip (GNU debugger) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Here's what my directory structure looks like: C:\DJGPP>dir Volume in drive C has no label. Volume Serial Number is E4F1-3A3D Directory of C:\DJGPP 02/16/97 06:37p . 02/16/97 06:37p .. 02/16/97 06:36p BIN 10/05/96 07:02p 2,199 DJGPP.ENV 02/16/97 06:36p DOCS 02/16/97 06:36p FAQ 02/16/97 06:35p GNU 02/16/97 06:36p INCLUDE 02/16/97 06:36p INFO 02/16/97 06:36p LANG 02/16/97 06:36p LIB 02/16/97 06:36p MANIFEST 10/16/96 02:30p 29,378 pkunzip.exe 02/16/97 06:36p TMP 02/16/97 06:36p ZONEINFO ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ My problem now is that I do not know how to run the Bash shell :-( I have downloaded and read what I believe to be the correct FAQ's, as well as those that came with the distributions. It is my understanding that certain environment variables must be set in Autoexec.bat and Config.sys (I know how to create these files, create an icon and set the properties which will call these up upon execution). I tried making a config.sys with SHELL=C:\DJGPP\BIN\BASH.EXE but this caused only a brief blank screen before returning me to the NT windows screen. If I double click the C:\Djgpp\bin\bash.exe file in Explorer, I get a MS-DOS window with a 'bash$' prompt but it recognizes no Unix commands such as ls, w, cd .. etc. The only command it accepts is 'exit' - a recognized DOS command I suspect :-( I'm sure I am missing something obvious but I would really appreciate any help that anyone could render. Mr. Aldrich has already given freely of his time and expertise to get me this far and I hope someone is out there who has done what I am trying to do which is... 1. Run a Unix shell 2. Run G++ 3. Link to libraries such as iostream.h, iomanip.h etc. 4. Use emacs to write and G++ to compile simple C++ programs I am trying to simulate the environment that I get telnetting in to the campus servers at SFSU. For reasons much researched but still unknown, the telnet connection I get is tenuous and I keep getting frozen/kicked out in mid-edit. This is a problem as I have assignments due in C++ class. Getting a reasonable facsimile working on my home machine would allow me to try out most stuff here first, there later. Again, thanks very much in advance for any assistance anyone can offer. Martin -------------------==== Posted via Deja News ====----------------------- http://www.dejanews.com/ Search, Read, Post to Usenet