What is DJGPP?
DJGPP Frequently-Asked Questions ListA : DJGPP is a port of GNU C/C++ compiler and development tools to 32-bit, protected-mode environment on Intel 32-bit CPUs running MS-DOS and compatible operating systems, by DJ Delorie and friends. Starting from v2.
Related QuestionsDJGPP Frequently-Asked Questions ListA : DJGPP is a port of GNU C/C++ compiler and development tools to 32-bit, protected-mode environment on Intel 32-bit CPUs running MS-DOS and compatible operating systems, by DJ Delorie and friends. Starting from v2.Related Questions
The GNU Pascal Manual - The GNU Pascal Frequently Asked Ques...DJGPP is a complete 32-bit C/C++ development system for Intel 80386 (and higher) PCs running DOS. It includes ports of many GNU development utilities. The development tools require a 80386 or newer computer to run, as do the programs they produce. In most cases, the programs it produces can be sold commercially without license or royalties. GPC/DJGPP is a DJGPP V2 application, and most of the DJGPP documentation applies for GPC too. A great source of information is the DJGPP FAQ: http://www.Related Questions
The Cygwin FAQDJGPP is a similar idea, but for DOS instead of Win32. DJGPP uses a "DOS extender" to provide a more reasonable operating interface for its applications. The Cygwin toolset doesn't have to do this since all of the applications are native WIN32. Applications compiled with the Cygwin tools can access the Win32 API functions, so you can write programs which use the Windows GUI.Related Questions
Is DJGPP shareware?
DJGPP Frequently-Asked Questions ListA : DJGPP is not public domain, neither is it shareware (you don't have to pay a license fee to use DJGPP). Parts of DJGPP (the compiler and some of the development tools) are GNU software, so you must comply with GNU GPL if you distribute those parts (usually, you won't need to distribute them, because they are freely available to everyone). A small part of the C library is taken from the Berkeley BSD sources, and is therefore in public domain.
Related QuestionsCan I use DJGPP with wxWindows?
MS WindowsNo. Although there is now a Windows 3.1 version of RSXDK which allows limited 32-bit Windows compilation under Windows using DJGPP, it doesn't have enough functionality to be useful for wxWindows. This has been checked out by Arjen Duursma (arjen@capints.uucp).
Related QuestionsWhat's the relationship between DJGPP and OpenDOS?
OpenDOS FAQ listThe DJGPP and OpenDOS groups expect to work closely together to "clean up" the OpenDOS sources and integrate the GEM, TCP/IP, and EMM386 APIs into DJGPP's development kits. While no official arrangements have been made, suffice to say that there will be many DJGPP developers with OpenDOS sources! As for porting OpenDOS to DJGPP, remember that DJGPP doesn't support 16-bit machines, which will be a popular platform for OpenDOS.
Related QuestionsWill OpenDOS be ported to DJGPP?
OpenDOS FAQ listWell, the core OS can't be (IBMBIO.COM, IBMDOS.COM, and COMMAND.COM) but there's no reason why the utilities couldn't all be 32-bit DJGPP programs. However, that means that a 386 is required, which otherwise wouldn't be true.
Related QuestionsWhat are the minimum system requirements for using DJGPP?
DJGPP Frequently-Asked Questions ListA : DJGPP requires at least 386SX CPU and between 15 and 35 MB of free disk space (see more details on this below), including space for the software installation and some swap space. A minimum of 64K of system memory is enough for DJGPP to run with the CWSDPMI free DPMI host (most other DPMI hosts will require much more), but at least 2.
Related QuestionsWhat is the optimal system configuration for running DJGPP?
DJGPP Frequently-Asked Questions ListDOS, device drivers and TSRs all loaded HIGH, leaving only 5K DOS footprint in lower (under 640K) memory; MByte RAM disk installed, TMPDIR environment variable points to it (e.g., set TMPDIR=e:, if E: is the RAM drive letter);
Related QuestionsHow do I configure my system to get optimal performance under DJGPP?
DJGPP Frequently-Asked Questions ListA : That depends on the amount of RAM you have installed in your machine. Below are some guidelines to help you. Remove any TSR and device drivers you don't absolutely need (like SETVER.EXE, HIMEM.SYS etc.) from your CONFIG.SYS and AUTOEXEC.BAT. Do not install disk cache or RAM disk; point your TMPDIR environment variable to a directory on your hard disk. Put a sufficiently large BUFFERS= statement into your CONFIG.SYS (I recommend setting BUFFERS=40,8) to make DOS file operations faster.
Related QuestionsWhy are DJGPP .exe files so large?
DJGPP Frequently-Asked Questions ListI compiled a trivial "Hello world" program and got a 32KB executable file. That's ridiculously bloated! A : In general, v2 programs are about 20-30K larger on disk, but use 50-120K less memory at run-time, than v1.x programs. The larger disk image is due to two main factors: Part of the code that used to be inside go32 is now part of the library and thus gets linked into every program. The v2 startup code is much more powerful, but also larger.
Related QuestionsWhat do DJGPP programs need to run?
DJGPP Frequently-Asked Questions ListA : No, you don't. You can either (1) bring the CWSDPMI.EXE free DPMI host to the target machine and put it in the same directory as your compiled program or somewhere along the PATH , or (2) install another DPMI host (such as QDPMI, 386Max, Windows, etc.) on the target machine. Note that the author of CWSDPMI, Charles Sandmann, requests a notification by mail or acknowledged e-mail in case you distribute CWSDPMI with a commercial or shareware product.
Related QuestionsCan I do filename globbing with DJGPP?
DJGPP Frequently-Asked Questions ListA : The filename globbing in DJGPP is done by the start-up code, before your main function is called. Unlike other DOS-based compilers, where you must link your program with a special object module if you want the program to get expanded filenames, in DJGPP this is considered normal behavior and performed by default on behalf of every DJGPP program. The x*y above was expanded to a file called xyzzy which was probably present in the current working directory.
Related QuestionsCan I write commercial programs with DJGPP?
DJGPP Frequently-Asked Questions ListA : In most cases, you don't have to worry about any legal restrictions when you compile your programs with DJGPP. Using the GNU C/C++ compiler doesn't make your programs subject to any restrictions. The C library which comes with DJGPP is free , which means you are free to use it in any way you like (but please observe basic rules of courtesy.) So, if you write C programs, you have absolutely nothing to worry about. The basic C++ iostream class library (libiostr.
Related QuestionsHow do I post to the DJGPP mailing list?
DJGPP Frequently-Asked Questions ListA : Send mail to the list address as if it were a person. Please use the mailing list only if you cannot access the DJGPP news group, because reflecting the mail to and from the mailing lists incurs additional load on the DJGPP server.
Related QuestionsHow do I subscribe to the DJGPP mailing list?
DJGPP Frequently-Asked Questions ListA : Send mail to the list server (NOT to djgpp@!!), leave the subject line empty and in the body write: subscribe djgpp If you only want to receive announcements of new versions and ported software, but don't want to see any other DJGPP mail traffic, subscribe to the djgpp-announce by sending message to the list server which says so: subscribe djgpp-announce The announcements which go to djgpp-announce get reflected to djgpp, so you don't have to subscribe to both these lists.
Related QuestionsWhere is the DJGPP Web site?
DJGPP Frequently-Asked Questions ListA : Yes, DJGPP has its own home on the Internet, set up and maintained by (who else?) DJ Delorie. It has an HTML version of this FAQ list with search capabilities, the entire set of DJGPP distribution files, a searchable archive of the DJGPP mailing list and news group traffic, plus other useful and interesting information about DJGPP. For instance, did you ever wonder how DJGPP got started and what DJ's original goals were? Rejoice: the Web site includes the story of DJGPP genesis.
Related QuestionsHow to ask experienced DJGPP users for help?
DJGPP Frequently-Asked Questions ListUse the DJGPP News group or mailing list. For most questions, you will have your answer in a day or two. See the details on how to ask the gurus.
Related QuestionsCan I write MS-Windows applications with DJGPP?
DJGPP Frequently-Asked Questions ListA : Currently, you can only run DJGPP programs under Windows as DOS apps (i.e. inside DOS Box). If you need to write true Windows apps, try using the RSX extender with EMX port of GCC and RSXWDK kit for Windows. You can get RSX by anonymous ftp. People who tried this report that you must download and unzip the RSXWDK2 source archive, not only the binaries (otherwise you'll get General Protection Faults when you try to run DJGPP programs).
Related Questions