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-08-01 04:25
中国DOS联盟论坛 » DOS开发编程 & 发展交流 (开发室) » [Help] Installing djgpp View 855 Replies 6
Original Poster Posted 2003-11-14 00:00 ·  中国 河南 郑州 联通
高级用户
★★
Credits 599
Posts 148
Joined 2003-10-30 00:00
22-year member
UID 12192
Gender Male
Status Offline
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?
Floor 2 Posted 2003-11-15 00:00 ·  中国 云南 红河哈尼族彝族自治州 弥勒市 电信
中级用户
★★
Credits 478
Posts 132
Joined 2003-07-02 00:00
23-year member
UID 6296
Gender Male
Status Offline
Where can I get this book?
Floor 3 Posted 2003-11-16 00:00 ·  中国 河南 郑州 联通
高级用户
★★
Credits 599
Posts 148
Joined 2003-10-30 00:00
22-year member
UID 12192
Gender Male
Status Offline
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
Floor 4 Posted 2003-11-18 00:00 ·  中国 河北 唐山 联通
初级用户
Credits 183
Posts 31
Joined 2002-11-30 00:00
23-year member
UID 371
Gender Male
Status Offline
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!
我的论坛 http://zjp-vlk.vicp.net/bbs 我在它就在!
Floor 5 Posted 2003-11-19 00:00 ·  中国 安徽 芜湖 电信
初级用户
Credits 146
Posts 11
Joined 2003-06-22 00:00
23-year member
UID 5691
Gender Male
Status Offline
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.
Floor 6 Posted 2003-11-20 00:00 ·  中国 河南 郑州 联通
高级用户
★★
Credits 599
Posts 148
Joined 2003-10-30 00:00
22-year member
UID 12192
Gender Male
Status Offline
Thanks
Floor 7 Posted 2003-11-22 00:00 ·  中国 陕西 西安 教育网
高级用户
★★
OS/2女孩
Credits 639
Posts 183
Joined 2003-06-14 00:00
23-year member
UID 5148
Gender Female
Status Offline
Hope this is useful to you,
http://lemonhall.533.net/
There hasn't been much updated recently, sorry.
REM 喜欢DOS,因为它的简单
REM 喜欢OS/2,因为它不再矫饰
REM 喜欢BASIC,因为它并不幼稚
REM 喜欢GNU,因为它杂乱无章
Forum Jump: