China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --

Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!

中国DOS联盟论坛
The time now is 2026-07-31 21:41
中国DOS联盟论坛 » DOS开发编程 & 发展交流 (开发室) » [Repost] DJGPP - A 32-bit C programming environment DigestI View 19,236 Replies 52
Original Poster Posted 2003-05-05 00:00 ·  美国 肯塔基州 费耶特县 列克星敦 Charter_Communications
系统支持
★★★★★★
“新DOS时代”站长
Credits 27,736
Posts 10,521
Joined 2002-10-09 12:00
23-year member
UID 9
Status Offline
When it comes to C language under DOS, most friends will think of Borland C. Unfortunately, a larger game involves a large amount of data such as images and sounds. Obviously, writing programs in 16-bit real mode will be hindered by the memory limit of 640K : (And it is not so convenient to write 32-bit programs with BC. Some friends have switched to Windows 95 programming, and the remaining game programmers still fighting in the DOS environment have started to use other C languages designed for 32-bit protected mode. Watcom C once became popular all over the country. And another powerful C system DJGPP has been ignored. Yunfeng has also learned to use Watcom C, but once he tried DJGPP, he completely deleted Watcom C from the hard drive, and now writes this small article to promote this powerful tool in China The following text does not intend to belittle the powerful functions of other C language systems, and the comments are only the opinions of Yunfeng. First of all, DJGPP is a GNU software. In other words, you can get the entire source code of the system and modify it arbitrarily. Because of this, DJGPP develops much faster than other commercial C systems. Countless computer experts are constantly improving it and injecting new vitality into it; and the discovered BUG can also be removed in the first time. Through the Internet, you can always use the latest technology in the world without paying for it I like the 32-bit protected mode engine CWSDPMI of DJGPP very much. At least its loading speed is much faster and its volume is much smaller than the commonly used DOS/4GW of Watcom C. If you don't use DPMI and switch to VCPI, you don't even need the program CWSDPMI Secondly, DJGPP has rich peripheral software. I am very satisfied with the integrated environment RHIDE compiled for DJGPP. It is simply wonderful. The interface is imitated according to my familiar Borland C++ 3.1, and many considerate designs are added in the details. Especially the built-in Debug, which not only has functions exceeding Turbo Debug, but also has first-class stability. This IDE not only supports C, but also supports C++, Obj C, Pascal, Asm, Ada and other Gnu versions of multiple languages, making mixed programming a piece of cake. And another game development library called Allegro is all-inclusive and is a must-have for game programmers. If you are still using Borland C to write programs, then it is the easiest to switch to DJGPP It is still the same interface, the same to write your program, but you don't have to consider far pointers, near pointers; what 64K limit; what extended memory, upper memory. Just do as you want, and you will like such a good thing -------------------------------------------------------------------------------- You can find DJGPP on many FTP sites, for example ft://ftp.cdrom.com/pub/simtelnet/gnu/djgpp/ ft://ftp.simtel.net/pub/simtelnet/gnu/djgpp/ The latest version of DJGPP can be found below. The file with b is the executable file, the one with d is various documents, and the one with s is the source code To make your DJGPP run, the following files are necessary: gcc281b.zip 1.34M Gnu C compiler bnu281b.zip 1.90M Essential for the Djgpp series, linker, etc. djdev202b.zip 1.42M Gnu C library files, header files, etc. csdpmi4b.zip 41k DPMI support engine Some other packages are briefly introduced below rhide14b.zip 1.31M DJGPP supporting integrated environment mak377b.zip 248K Gnu Make tool alleg311.zip 1.43M A powerful game development library gpp281b.zip 1.29M Gnu C++ compiler There are many other software packages, which will not be described one by one here. You can first download that LISTINGS.zip back and read it slowly
Wengier - 新DOS时代

欢迎大家来到我的“新DOS时代”网站,里面有各类DOS软件和资料,地址:
http://wendos.mycool.net/

E-Mail & MSN: wengierwu AT hotmail.com (最近比较忙,有事请联系DOSroot和雨露,谢谢!)

Floor 2 Posted 2003-05-05 00:00 ·  美国 肯塔基州 费耶特县 列克星敦 Charter_Communications
系统支持
★★★★★★
“新DOS时代”站长
Credits 27,736
Posts 10,521
Joined 2002-10-09 12:00
23-year member
UID 9
Status Offline
Description: DJGPP is quite famous abroad now, and it is a powerful tool for developing protected mode programs under DOS. Moreover, when RHIDE is used, the interface becomes a full graphical mode, just like Turbo C++, which is really great!
Wengier - 新DOS时代

欢迎大家来到我的“新DOS时代”网站,里面有各类DOS软件和资料,地址:
http://wendos.mycool.net/

E-Mail & MSN: wengierwu AT hotmail.com (最近比较忙,有事请联系DOSroot和雨露,谢谢!)

Floor 3 Posted 2003-05-05 00:00 ·  中国 台湾 远传电信
元老会员
★★★★★
Credits 8,312
Posts 3,551
Joined 2003-03-22 00:00
23-year member
UID 1225
Gender Male
Status Offline
After downloading RHIDE, I don't know how to use it. All are in English and I can't understand.
MSN:tiqit2@hotmail.com
Floor 4 Posted 2003-05-05 00:00 ·  中国 河南 驻马店 联通
金牌会员
★★★★
龙哥DOS
Credits 4,289
Posts 1,501
Joined 2003-02-23 00:00
23-year member
UID 983
Gender Male
From 河南省
Status Offline
How to install and use it after downloading all? Can you please ask站长 Wengier to introduce it specifically?
C++C++C++C++C++C++C++C++C++C++C++C++C++C++C++
C++ ☆☆☆ 中国DOS联盟成员 ☆☆☆ C++
C++ ★★★ 爱提问的红色狂想 ★★★ C++
C++C++C++C++C++C++C++C++C++C++C++C++C++C++C++
Floor 5 Posted 2003-05-05 00:00 ·  中国 河南 驻马店 联通
金牌会员
★★★★
龙哥DOS
Credits 4,289
Posts 1,501
Joined 2003-02-23 00:00
23-year member
UID 983
Gender Male
From 河南省
Status Offline
Is there really no one to answer me?
C++C++C++C++C++C++C++C++C++C++C++C++C++C++C++
C++ ☆☆☆ 中国DOS联盟成员 ☆☆☆ C++
C++ ★★★ 爱提问的红色狂想 ★★★ C++
C++C++C++C++C++C++C++C++C++C++C++C++C++C++C++
Floor 6 Posted 2003-05-05 00:00 ·  美国 肯塔基州 费耶特县 列克星敦 Charter_Communications
系统支持
★★★★★★
“新DOS时代”站长
Credits 27,736
Posts 10,521
Joined 2002-10-09 12:00
23-year member
UID 9
Status Offline
Someone answer! Extract RHIDE to the DJGPP folder, set the DJDIR and DJGPP environment variables, and then run the RHIDE.EXE program.
Wengier - 新DOS时代

欢迎大家来到我的“新DOS时代”网站,里面有各类DOS软件和资料,地址:
http://wendos.mycool.net/

E-Mail & MSN: wengierwu AT hotmail.com (最近比较忙,有事请联系DOSroot和雨露,谢谢!)

Floor 7 Posted 2003-05-05 00:00 ·  中国 重庆 九龙坡区 电信
初级用户
Credits 137
Posts 14
Joined 2003-02-21 00:00
23-year member
UID 971
Gender Male
Status Offline
RHIDE doesn't work under Windows 2000. It always fails to find the path for saving, while it works fine under Windows 98 and DOS.
Floor 8 Posted 2003-05-05 00:00 ·  美国 肯塔基州 费耶特县 列克星敦 Charter_Communications
系统支持
★★★★★★
“新DOS时代”站长
Credits 27,736
Posts 10,521
Joined 2002-10-09 12:00
23-year member
UID 9
Status Offline
The following is a quote from xxlwsj on 2003-5-5 21:48:59:
RHIDE doesn't work under 2000, always can't find the path to save, but it's okay under 98 and DOS.


It can be seen that this is a "Command Prompt" bug in Win2K.
Wengier - 新DOS时代

欢迎大家来到我的“新DOS时代”网站,里面有各类DOS软件和资料,地址:
http://wendos.mycool.net/

E-Mail & MSN: wengierwu AT hotmail.com (最近比较忙,有事请联系DOSroot和雨露,谢谢!)

Floor 9 Posted 2003-05-06 00:00 ·  中国 河南 驻马店 联通
金牌会员
★★★★
龙哥DOS
Credits 4,289
Posts 1,501
Joined 2003-02-23 00:00
23-year member
UID 983
Gender Male
From 河南省
Status Offline
站长 Wengier:
I downloaded all the files in the download address you introduced at the top (ftp://ftp.cdrom.com/pub/simtelnet/gnu/djgpp/) to my local. Is there a file named RHIDE in it? What version of DJGPP is this? Also, after downloading all, I found many compressed package files. Do I need to decompress all of them?
C++C++C++C++C++C++C++C++C++C++C++C++C++C++C++
C++ ☆☆☆ 中国DOS联盟成员 ☆☆☆ C++
C++ ★★★ 爱提问的红色狂想 ★★★ C++
C++C++C++C++C++C++C++C++C++C++C++C++C++C++C++
Floor 10 Posted 2003-05-06 00:00 ·  美国 肯塔基州 费耶特县 列克星敦 Charter_Communications
系统支持
★★★★★★
“新DOS时代”站长
Credits 27,736
Posts 10,521
Joined 2002-10-09 12:00
23-year member
UID 9
Status Offline
There is this file inside, but you need to look for it carefully. For example, download and decompress the executable programs of DJGPP itself, BNU tools, and RHIDE in full.
Wengier - 新DOS时代

欢迎大家来到我的“新DOS时代”网站,里面有各类DOS软件和资料,地址:
http://wendos.mycool.net/

E-Mail & MSN: wengierwu AT hotmail.com (最近比较忙,有事请联系DOSroot和雨露,谢谢!)

Floor 11 Posted 2003-05-06 00:00 ·  中国 河南 驻马店 联通
金牌会员
★★★★
龙哥DOS
Credits 4,289
Posts 1,501
Joined 2003-02-23 00:00
23-year member
UID 983
Gender Male
From 河南省
Status Offline
The download speed is really slow. I didn't wait for it yesterday! Why are there so many files? There are way more than before. Are they all DJGPP files?
Also, what version of DJGPP is this?
C++C++C++C++C++C++C++C++C++C++C++C++C++C++C++
C++ ☆☆☆ 中国DOS联盟成员 ☆☆☆ C++
C++ ★★★ 爱提问的红色狂想 ★★★ C++
C++C++C++C++C++C++C++C++C++C++C++C++C++C++C++
Floor 12 Posted 2003-05-06 00:00 ·  美国 肯塔基州 费耶特县 列克星敦 Charter_Communications
系统支持
★★★★★★
“新DOS时代”站长
Credits 27,736
Posts 10,521
Joined 2002-10-09 12:00
23-year member
UID 9
Status Offline
All are DJGPP files, but only one is the main program, and the others are auxiliary programs, such as GUI interfaces, compilers, debuggers, etc. However, if there are no auxiliary programs at all, then almost nothing can be done.
Wengier - 新DOS时代

欢迎大家来到我的“新DOS时代”网站,里面有各类DOS软件和资料,地址:
http://wendos.mycool.net/

E-Mail & MSN: wengierwu AT hotmail.com (最近比较忙,有事请联系DOSroot和雨露,谢谢!)

Floor 13 Posted 2003-05-06 00:00 ·  中国 河南 驻马店 联通
金牌会员
★★★★
龙哥DOS
Credits 4,289
Posts 1,501
Joined 2003-02-23 00:00
23-year member
UID 983
Gender Male
From 河南省
Status Offline
So, is the directory hierarchy inside it not allowed to be changed?
C++C++C++C++C++C++C++C++C++C++C++C++C++C++C++
C++ ☆☆☆ 中国DOS联盟成员 ☆☆☆ C++
C++ ★★★ 爱提问的红色狂想 ★★★ C++
C++C++C++C++C++C++C++C++C++C++C++C++C++C++C++
Floor 14 Posted 2003-05-06 00:00 ·  中国 河南 驻马店 联通
金牌会员
★★★★
龙哥DOS
Credits 4,289
Posts 1,501
Joined 2003-02-23 00:00
23-year member
UID 983
Gender Male
From 河南省
Status Offline
站长Wengier, come quickly!

What I want to ask is: Is the internal directory hierarchy unable to be changed?
What is the version number?
C++C++C++C++C++C++C++C++C++C++C++C++C++C++C++
C++ ☆☆☆ 中国DOS联盟成员 ☆☆☆ C++
C++ ★★★ 爱提问的红色狂想 ★★★ C++
C++C++C++C++C++C++C++C++C++C++C++C++C++C++C++
Floor 15 Posted 2003-05-06 00:00 ·  美国 肯塔基州 费耶特县 列克星敦 Charter_Communications
系统支持
★★★★★★
“新DOS时代”站长
Credits 27,736
Posts 10,521
Joined 2002-10-09 12:00
23-year member
UID 9
Status Offline
Just decompress it according to the original directory hierarchy.
Wengier - 新DOS时代

欢迎大家来到我的“新DOS时代”网站,里面有各类DOS软件和资料,地址:
http://wendos.mycool.net/

E-Mail & MSN: wengierwu AT hotmail.com (最近比较忙,有事请联系DOSroot和雨露,谢谢!)

Forum Jump: