中国DOS联盟论坛

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-10-31 06:43
47,815 topics / 349,930 posts / today 0 new / 48,290 members
DOS开发编程 & 发展交流 (开发室) » Now there is a very good programming environment under DOS - DJGPP
Printable Version  56,924 / 136
Floor76 lucky9981 Posted 2005-11-20 01:17
初级用户 Posts 26 Credits 52
After setting up the environment working directory, it's time to compile the hello.c program. On the menu, under the compile main menu, respectively click:

compile
make
link

Finally, see in the bottom information bar:

Creating hello.exe
no errors.

Indicating successful passage.

Attachments
最后再次编译成功通过.JPG (45.75 KiB)
Floor77 lucky9981 Posted 2005-11-20 01:24
初级用户 Posts 26 Credits 52
That's all for the simple part.
If there are any improper statements, I hope everyone can correct them.
Welcome to write to discuss together.
[email protected]
Floor78 lucky9981 Posted 2005-11-20 01:36
初级用户 Posts 26 Credits 52
This thing is free, downloadable freely. Long-term effective. But the speed is not acceptable for ordinary people. Hehe. One should download selectively.
http://www.delorie.com/pub/djgpp/current/
Floor79 rocchapter Posted 2005-11-29 14:37
中级用户 Posts 101 Credits 236
watcom is okay too
Floor80 Neat Posted 2005-12-01 20:27
初级用户 Posts 16 Credits 32
DJGPP seems to have few Chinese materials, right?
Floor81 BSLTT Posted 2005-12-28 10:51
初级用户 Posts 18 Credits 59
Are there many materials about Watcom C++?
Floor82 henrya2 Posted 2006-02-12 15:41
中级用户 Posts 171 Credits 486
It's best to use OpenWatcom, which can compile the smallest C program under DOS.

Download for DOS version: http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/devel/c/owatcom/watcom.zip
Floor83 jcs67 Posted 2006-02-14 14:46
初级用户 Posts 18 Credits 36
I'm just using mdc (Digital Mars C++), which is quite useful.
Floor84 sungp Posted 2006-03-16 04:35
初级用户 Posts 10 Credits 20 From Tainan
http://gd.tuwien.ac.at/pc/dos/

http://gd.tuwien.ac.at/pc/dos/djgpp/current/

Here is also

[ Last edited by sungp on 2006-3-16 at 04:37 ]
Floor85 masccdx Posted 2006-03-24 09:16
新手上路 Posts 3 Credits 14 From china
After I boot into pure DOS with Windows Me
There, I execute set djgpp=c:/djgpp/djgpp.env
set path=c:/djgpp/bin
Then execute rhid to write a small program there
It can be compiled without errors
But there is an error during linking, saying that -lgcc is missing, too many file open in system
Please help the expert to solve it, and can a GUI like Windows be developed under pure DOS?
Floor86 sunbaojian Posted 2006-04-03 11:11
新手上路 Posts 1 Credits 2
http://www.delorie.com/djgpp/zip-picker.html
Choose the following two options
Select a suitable FTP site:
Which programming languages will you be using?
Check the C++ option
Then submit
Just download all the files that appear
Floor87 x2wei Posted 2006-04-24 20:44
初级用户 Posts 17 Credits 44
There are so many Djgpp + allegro enthusiasts! Happy!
Floor88 willsion Posted 2006-05-25 10:19
高级用户 Posts 312 Credits 793
I'm not proficient in programming, just purely supporting.
Floor89 070 Posted 2006-06-16 01:19
高级用户 Posts 218 Credits 663 From 福建
DJGPP is fine in other aspects, just the optimization is not good, there are many garbage codes. A simple program to display "hello, new world" is as big as 89KB. Miss the Borland compiler. Still, assembly is the most concise. Hehe, even if the hard disk is large, it doesn't matter.

[ Last edited by 070 on 2006-6-16 at 01:21 ]
Floor90 fros Posted 2006-10-06 12:49
初级用户 Posts 48 Credits 112
Sweat...
I don't know if it can be done at the bottom layer with assembly, and the shell with QB or something like that...
Similar to freebasic, where assembly can be embedded inside... (It's just that it's frustrating that it can't do multi-threading under DOS.)
Prev  1 … 3 4 5 6 7 8 9 … 10  Next
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023