Message-ID: <3816105E.95B00E77@arn.net> Date: Tue, 26 Oct 1999 15:34:38 -0500 From: "Joseph C. Holm" Organization: Thomas & Israel Consulting Engineers X-Mailer: Mozilla 4.7 [en] (WinNT; I) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.os.msdos.djgpp Subject: Re: compiling c++ programs with rhide References: <000801bf20ab$9cb70600$388901d4 AT oemcomputer> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit NNTP-Posting-Host: pm3-10-157.ama.arn.net X-Trace: 26 Oct 1999 15:25:41 -0600, pm3-10-157.ama.arn.net Lines: 184 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Hello, I had great luck with this. Assuming you are on a windows os, you can ignore most of what is available for download on the mirror sites. If you are on a Linux, or Unix system you need all that jazz. Oklahoma State ftp.ou.edu With the initial directory /pub/simtelnet/gnu/djgpp/ has the latest greatest djgpp. Got www.delorie.com and use the "ZIP-PICKER". The zip-picker is an online series of questions that match to a database of system requirements. It will tell you which files to get. I run WinNT, the files I needed were: ****************************************************************************** www.delorie.com/djgpp/zip-picker.cgi search DJGPP Zip File Picker Results FTP Site: ftp://ftp.ou.edu/pub/simtelnet/gnu/djgpp/ Note: Don't install djgpp in /dev as djgpp treats that directory specially. Note: If your FTP site doesn't have the selected files, please choose another one, like ftp.simtel.net Note: If you are using Windows 95/98, please check the file djgpp.env to make sure LFN is set to Y and not N, and make sure you use an unzip program that supports Win95 long file names, like winzip. Note: Do not install DJGPP in a directory that requires long file name support (i.e. no spaces, 8.3 characters) Note: The FAQ has information on adjusting the registry so that one installation works with both long and short filenames (Win 95/98/NT and DOS) Note: To view online documentation and help, run the "info" program. Note: RHIDE has an online help viewer also. Note: Start RHIDE in the directory with your sources, so that it puts the .exe there also. Note: In RHIDE, press F1 twice to get help on help Note: Use gxx (or append -lstdcx to your gcc command line) to compile and link C++ programs (*.cc) Note: If you get errors about cout, iostream.h, streambuf.h, or libiostream.a, please read the FAQ Note: Append -lobjc to your gcc command line to link Objective-C programs Note: You need to build Allegro before you can use it. Use "make" Read the file README.1ST before you do anything else with DJGPP! It has important installation and usage instructions. v2/copying.dj DJGPP Copyright info 2 kb v2/djdev202.zip DJGPP Basic Development Kit 1.4 mb v2/faq211b.zip Frequently Asked Questions 551 kb v2/readme.1st Installation instructions 14 kb v2apps/rhide14b.zip RHIDE 1.6 mb v2gnu/bnu281b.zip Basic assembler, linker 1.8 mb v2gnu/gcc2951b.zip Basic GCC compiler 1.7 mb v2gnu/gdb418b.zip GNU debugger 1.1 mb v2gnu/gpp2951b.zip C++ compiler 1.6 mb v2gnu/lgpp295b.zip C++ libraries 484 kb v2gnu/mak377b.zip Make (processes makefiles) 242 kb v2gnu/objc295b.zip Objective-C compiler 893 kb v2gnu/txi312b.zip Info file viewer 500 kb v2tk/allegro/alleg312.zip Allegro game library 1.4 mb v2tk/grx23.zip GRX Graphics 552 kb v2tk/grx23fnt.zip GRX Fonts 644 kb v2tk/rsxdj151.zip RSX (Windows GUI Lib) 3.5 mb Total bytes to download: 18,754,010 Installation Instructions for win98 Use Explorer to create a folder for DJGPP. My Computer, Drive C, File->New->Folder, "DJGPP". Use winzip to unzip all the zips you downloaded into the C:\DJGPP folder. Don't unzip them each into separate folders - unzip them all to the same place. In the Start menu, pick Programs -> Accessories -> System Tools -> System Information. Then, in the Tools menu, pick System Configuration; there is a tab there that you can use to edit your Autoexec.bat to include the following lines: set PATH=C:\DJGPP\BIN;%PATH% set DJGPP=C:\DJGPP\DJGPP.ENV Note that the PATH statement should follow any other PATH statements, or you may edit an existing PATH statement. You'll need to restart your computer for these changes to take effect. webmaster donations bookstore delorie software privacy Copyright © 1999 by Updated Oct 18 1999 You can help support this site by visiting the advertisers that sponsor it! (only once each, though) ***************************************************************************** Be Aware: There is a problem with rsxdj151.zip, it has a bad file on it (rsxio32.dll), but it is being worked on at the moment and should be updated soon. I hope this helps. j > PHILIP FARRINGTON wrote: > > I have recently bought a book called "Sams Teach Yourself C++ in 24 > Hours" which came with the DJGPP compiler + RHIDE 1.4 on disk.I have > installed all relevant files and upraded the DJGPP compiler to v2.2 > from the web site.My problem is when i try to run or compile example > listings from the book,i get a message saying cannot run the program > as it can't find the header files.I have checked the FAQ's and found > one about my problem,which says the answer(i think) is to :- > "Add line RHIDE_TYPED_LIBS_DJGPP.cc = stdcxx to > %DJDIR/Share/rhide/r.hide.env." or better still upgrade Rhide to the > latest version.Can someone please tell me how and where i have to put > in the above line or better still point me to the latest version of > Rhide as i have looked on the Delorie and Rhide web sites,but to no > avail.I would very much like to learn C++ so that i can write some > games for my own use.thanks in advance. > > Phil > -- ** The knowledge you once possessed is a mere iconic shadow of it's former self. ** [Please reply only to this group, thank you.] [The opinions expressed herein are my own.] (other cute stuff goes here)