This is the answers to some previous questions, which may not be helpful to him personally.
But this prompted me to have the idea of writing a manual about DJGPP. (Although there is an English DJGPP manual itself, but, considering that the manual itself is not targeted at Chinese users. So this idea came into being)
1: Where to download?
There are download addresses in the essence area. It needs to be noted that it has no so-called complete distribution package. And it is composed of many packages, similar to building blocks, which need to be built by yourself. Similar to LINUX, you can also choose to compile programs by yourself.
2: How to use, under what system to use, Win98 or DOS?
Supports pure DOS (has restrictions on long filenames, but can be compensated by using DOSLFN)
Fully supports WIN98/2000/ME/XP
3: What to use to edit the source program?
DJGPP can actually be regarded as an implementation (support package) of GNU GCC under DOS. GNU GCC is built on the basis of DJGPP, so many features of GNU GCC can be used to compile programs under DOS.
(That is to say, if you want to find out how to compile programs under DJGPP, it is better to look at the ordinary LINUX programming manual)
4: What to use to compile?
Same as above, if you install it correctly, you can use GCC to compile C programs.
(Multiple languages such as C, C++, FORTAN, ADA, etc. can be compiled on the DJGPP platform.)
5: How to link?
Hey, this is almost impossible to answer. GCC itself automatically calls the assembler and linker, and everything only needs to be written on the command line
GCC xxx.C –O xxx.EXE
That's it
6: Is there a function manual?
There is a complete function manual, but do you think it will be comfortable to read an English C function library? Since GNU often represents POSIX, then you can view any POSIX C function library manual, or FORTAN, ADA, etc. If you need to find some proprietary functions of GCC under DJGPP, you can look forward to the user manual of the DJGPP Chineseization group. (Of course, you can view the INFO function list, and the command line is INFO LIBC)
7: Does it support Chinese characters?
A very general question. In plain language, the C language itself does not support Chinese characters. Do you want to support Chinese characters for the language or the development environment (IDE) itself? It is very simple to make C support the language. There are a large number of examples on the Internet. As for supporting a certain Chinese character encoding, then in DOS, UCDOS and other systems are generally used to support, and to display Chinese characters (GBK) graphically, you can already support UTF-8 encoding through ALLOGRE's functions (the support effect is unknown)
But this prompted me to have the idea of writing a manual about DJGPP. (Although there is an English DJGPP manual itself, but, considering that the manual itself is not targeted at Chinese users. So this idea came into being)
1: Where to download?
There are download addresses in the essence area. It needs to be noted that it has no so-called complete distribution package. And it is composed of many packages, similar to building blocks, which need to be built by yourself. Similar to LINUX, you can also choose to compile programs by yourself.
2: How to use, under what system to use, Win98 or DOS?
Supports pure DOS (has restrictions on long filenames, but can be compensated by using DOSLFN)
Fully supports WIN98/2000/ME/XP
3: What to use to edit the source program?
DJGPP can actually be regarded as an implementation (support package) of GNU GCC under DOS. GNU GCC is built on the basis of DJGPP, so many features of GNU GCC can be used to compile programs under DOS.
(That is to say, if you want to find out how to compile programs under DJGPP, it is better to look at the ordinary LINUX programming manual)
4: What to use to compile?
Same as above, if you install it correctly, you can use GCC to compile C programs.
(Multiple languages such as C, C++, FORTAN, ADA, etc. can be compiled on the DJGPP platform.)
5: How to link?
Hey, this is almost impossible to answer. GCC itself automatically calls the assembler and linker, and everything only needs to be written on the command line
GCC xxx.C –O xxx.EXE
That's it
6: Is there a function manual?
There is a complete function manual, but do you think it will be comfortable to read an English C function library? Since GNU often represents POSIX, then you can view any POSIX C function library manual, or FORTAN, ADA, etc. If you need to find some proprietary functions of GCC under DJGPP, you can look forward to the user manual of the DJGPP Chineseization group. (Of course, you can view the INFO function list, and the command line is INFO LIBC)
7: Does it support Chinese characters?
A very general question. In plain language, the C language itself does not support Chinese characters. Do you want to support Chinese characters for the language or the development environment (IDE) itself? It is very simple to make C support the language. There are a large number of examples on the Internet. As for supporting a certain Chinese character encoding, then in DOS, UCDOS and other systems are generally used to support, and to display Chinese characters (GBK) graphically, you can already support UTF-8 encoding through ALLOGRE's functions (the support effect is unknown)
REM 喜欢DOS,因为它的简单
REM 喜欢OS/2,因为它不再矫饰
REM 喜欢BASIC,因为它并不幼稚
REM 喜欢GNU,因为它杂乱无章
REM 喜欢OS/2,因为它不再矫饰
REM 喜欢BASIC,因为它并不幼稚
REM 喜欢GNU,因为它杂乱无章






