From: "John M. Aldrich" Newsgroups: comp.os.msdos.djgpp Subject: Re: Getting the djgpp C++ program to run! Date: Wed, 09 Jul 1997 20:04:23 +0000 Organization: Two pounds of chaos and a pinch of salt Lines: 42 Message-ID: <33C3EEC7.3056@cs.com> References: <3 DOT 0 DOT 1 DOT 32 DOT 19970709152523 DOT 0069ac8c AT jps DOT net> Reply-To: fighteer AT cs DOT com NNTP-Posting-Host: ppp108.cs.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Travis Mathison wrote: > > OK. I just got this book called "WHO'S AFRAID OF C++?" by Steve Heller. > This book comes with a CD with the 32bit compiler in it. I copyed it to my > hard drive and folowed the directions exectly. I know I installed it right > but I cant find what icon\file starts the program up so I can write code. > This is urgent so if you can help me out I would appreciate it a lot thanks. Most likely, the version of DJGPP included with that book does not come with the RHIDE IDE that was written for version 2.01 of DJGPP. Assuming that you followed the installation instructions, please type "go32" or "go32-v2" (whichever is present) and see what version it reports. If you have go32.exe, or go32-v2 reports anything less than "go32/v2 version 2.0 built Aug 12 1996 22:27:23", you should update your version of the compiler (visit http://www.delorie.com/djgpp/getting.html to learn more). In any case, you don't need to use a specific IDE to write code for DJGPP. Just use your favorite text editor, save the file with a '.c' extension for a C program, or '.cc' for C++, and run the gcc compiler like so: C programs: gcc -Wall -O -g -o program.exe program.c C++ programs: gcc -Wall -O -g -o program.exe program.c -lgpp DJGPP does not inherently produce Windows-native executables, although its executables should run under Windows. The RSXNTDJ package (v2tk/rsxdj131.zip from SimTel) for DJGPP v2.01 does allow production of 32-bit Windows executables and comes with an IDE and debugger. -- --------------------------------------------------------------------- | John M. Aldrich |"Men rarely (if ever) manage to dream | | aka Fighteer I |up a god superior to themselves. Most | | mailto:fighteer AT cs DOT com |gods have the manners and morals of a | | http://www.cs.com/fighteer |spoiled child." - Lazarus Long | ---------------------------------------------------------------------