中国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 09:42
47,815 topics / 349,930 posts / today 0 new / 48,290 members
DOS开发编程 & 发展交流 (开发室) » [Help] Installing djgpp
Printable Version  1,025 / 6
Floor1 qinqong Posted 2003-11-14 00:00
高级用户 Posts 148 Credits 599
I bought a book called "The Complete Standard C Language Guide", and it came with a CD. It has the digpp compiler on it. How do I install it under DOS? After I installed it, running programs always gives errors. What are its most commonly used commands, and how do I use them?
Floor2 profree Posted 2003-11-15 00:00
中级用户 Posts 132 Credits 478
Where can I get this book?
Floor3 qinqong Posted 2003-11-16 00:00
高级用户 Posts 148 Credits 599
sorry, it should be <>, published by Publishing House of Electronics Industry, the book number is ISBN7-5053-6751-X, I can buy it at all the major bookstores
Floor4 zhaojinpo Posted 2003-11-18 00:00
初级用户 Posts 31 Credits 183
If your DJGPP version is old, you might as well go directly to its website to download it. Its instructions fully explain how to install it!
Floor5 jddj007 Posted 2003-11-19 00:00
初级用户 Posts 11 Credits 146
No need to install it, just copy all the files to C:\djgpp
Then create djgpp.bat
The contents are
set djgpp=c:\djgpp\djgpp.env
set path=c:\djgpp\bin;%path%
Make a batch file djmake.bat
The contents are @gcc %1.c -o %1.exe
Later, when compiling code, run
djgpp.bat in a DOS window or in DOS mode, then use djmake filename to compile.
Floor6 qinqong Posted 2003-11-20 00:00
高级用户 Posts 148 Credits 599
Thanks
Floor7 lemonhall Posted 2003-11-22 00:00
高级用户 Posts 183 Credits 639
Hope this is useful to you,
http://lemonhall.533.net/
There hasn't been much updated recently, sorry.
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023