![]() |
China DOS Union-- Unite DOS · Advance DOS · Grow DOS --Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum |
| Guest | Log in | Register | Members | Search | China DOS Union |
|
中国DOS联盟论坛 The time now is 2026-09-14 23:27 |
47,812 topics / 349,917 posts / today 0 new / 48,268 members |
| DOS开发编程 & 发展交流 (开发室) » Answers to some questions about DJGPP |
| Printable Version 2,617 / 5 |
| Floor1 lemonhall | Posted 2003-09-20 00:00 |
| 高级用户 Posts 183 Credits 639 | |
|
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) |
|
| Floor2 平安2021 | Posted 2004-04-02 00:00 |
| 初级用户 Posts 7 Credits 116 | |
|
How to handle interrupts? The system doesn't recognize it.
![]() |
|
| Floor3 icicle99 | Posted 2004-04-12 00:00 |
| 初级用户 Posts 4 Credits 109 | |
|
Allegro claims to support UTF-8, but in reality, it's no different from not supporting it.
It converts all codes greater than 128 into the '^' character in its internal functions. So it's impossible to support Chinese without modifying its source code. The interrupt handling functions are very similar to those of TC. |
|
| Floor4 xy_god | Posted 2004-05-18 00:00 |
| 中级用户 Posts 56 Credits 276 | |
Quote from Ping An 2021 on April 2, 2004 at 02:20:32 PM: DJGPP can write interrupt service routines that call real-mode interrupts, and can also write interrupt resident programs in protected mode! |
|
| Floor5 bush | Posted 2004-05-24 00:00 |
| 银牌会员 Posts 730 Credits 2,165 | |
|
I went to check lemonhall's website.
Just followed her article to install DJGPP; thanks! I wonder if the localization is still in progress? Can the localization files also be made into info format, so that they can be browsed directly in info. |
|
| Floor6 mashan0537 | Posted 2010-10-11 21:28 |
| 新手上路 Posts 2 Credits 4 | |
Originally posted by xy_god at 2004-5-18 00:00: Why did the program that passed the compilation under Borland C3.1 not pass the compilation under rhide + DJGPP? There is an error at the interrupt function. |
|
|
[ Contact the Union admin team -
中国DOS联盟 -
Standard version ] Sponsored by ifanr Inc | © 2001–2023 |