From: "Damian Yerrick" Newsgroups: comp.os.msdos.djgpp Subject: comp.os.msdos.djgpp's Most Frequently Asked Questions Date: Thu, 23 Sep 1999 21:57:04 -0500 Organization: Rose-Hulman Institute of Technology Lines: 69 Message-ID: <7sepdl$a9p$1@solomon.cs.rose-hulman.edu> NNTP-Posting-Host: yerricde.laptop.rose-hulman.edu X-Trace: solomon.cs.rose-hulman.edu 938141941 10553 137.112.205.146 (24 Sep 1999 02:59:01 GMT) X-Complaints-To: news AT cs DOT rose-hulman DOT edu NNTP-Posting-Date: 24 Sep 1999 02:59:01 GMT X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com I'm posting early versions of MFAQ, the Most Frequently Asked Questions in c.o.m.d, because I would like to see what are the most frequent questions on this NG so that I can make my "FAQ Lite" web page for those fellows who don't have time to read half a meg. DJGPP MFAQ: Most Frequently Asked Questions in comp.os.msdos.djgpp By Damian Yerrick Because many people do not have time to browse through the whole DJGPP FAQ list, I created this extremely condensed version. Read the original at http://www.delorie.com/djgpp/v2faq/ 1. What is Watcom C++? What is better? 2. Location of Info-ZIP 3. Cannot find -lstdcx 4. Allegro forbidden register 5. What is DPMI? 6: How do I do (graphics)? How do I do (sound)? Q: What is Watcom C++? A: A payware C/C++ compiler. A free compiler of the same or better caliber can be found at http://www.delorie.com/djgpp/ Q: WinZip wants to put each zipfile's contents into a new folder. How do I unzip everything into C:\DJGPP? A: Search for Info-ZIP on Dogpile. http://www.dogpile.com/ Q: When I try to compile a C++ program, RHIDE is giving me an error "cannot find -lstdcx" A: RHIDE has a bug that causes it to think libstdcxx.a is named libstdcx.a; it's related to long file name problems. See the DJGPP FAQ, section 8.7, for a fix. Q: When I try to build Allegro 3.1 or earlier with gcc 2.95 or later, it gives me src/cpu.c:64: Invalid `asm' statement: src/cpu.c:64: fixed or forbidden register 0 (ax) was spilled for class AREG. A: This is a bug in Allegro until 3.11. Download Allegro 3.12 or later (I recommend 3.925) from http://www.talula.demon.co.uk/allegro/ Q: What is DPMI? A: DPMI, or the DOS Protected Mode Interface, is a method of communication between 32-bit DJGPP programs and 16-bit PC DOS (MS-DOS, DR DOS, FreeDOS). To run DJGPP programs in DOS mode (booting straight into DOS as opposed to a DOS emulation box in Windows 9x), you'll need to get a DPMI driver such as CWSDPMI. Download Allegro Setup from http://www.rose-hulman.edu/~yerricde/download.html then unzip cwsdpmi.exe into a folder on your PATH. Q: How do I do (graphics)? Q: How do I do (sound)? A: The Allegro library by Shawn Hargreaves et al. handles keyboard, mouse, joystick, graphics, waves, and MIDI. It works on Win32, Linux, DJGPP, and Watcom C++. Get it at http://www.talula.demon.co.uk/allegro/ Hope this helps! Damian Yerrick http://pineight.webjump.com/