DJGPP的使用方法

| | Comments (0)
djgpp logo之前写过一个MinGW的使用方法,不过后来用过DJGPP之后觉得MinGW没有DJGPP好用,经常出现莫名奇妙的问题。这里是从DJGPP的主页摘录的http://www.delorie.com/djgpp/
DJGPP is a complete 32-bit C/C++ development system for Intel 80386 (and higher) PCs running DOS. It includes ports of many GNU development utilities. The development tools require a 80386 or newer computer to run, as do the programs they produce. In most cases, the programs it produces can be sold commercially without license or royalties.

一直很敬仰写Quake的人,觉得能写出这样让人头晕的程序真的是不简单,3D效果太棒。忽然有一天,看到资料说Quake是用DJGPP写的,顿时对DJGPP又生出万分爱意。虽然是DOS版的东西,可是功能和效率都很高。在游戏编程方面有广泛的应用。喜欢~~
先说说DJGPP的安装吧,我选的组合是这样的:
v2/djdev203.zip DJGPP Basic Development Kit 1.5 mb
v2gnu/bnu2161b.zip Basic assembler, linker 3.3 mb
v2gnu/gcc401b.zip Basic GCC compiler 4.0 mb
v2gnu/gpp401b.zip C++ compiler 4.4 mb
v2gnu/mak3791b.zip Make (processes makefiles) 267 kb
下载好这些之后,解压到一个目录下如:C:\djgpp,然后新建一个环境变量叫DJGPP,值是“C:\djgpp\djgpp.env”
C:\djgpp\bin\gcc.exe是GNU C的编译器
C:\djgpp\bin\gpp.exe是GNU C++的编译器

Leave a comment

About this Entry

This page contains a single entry by 空空 published on December 13, 2005 1:24 AM.

迅雷的工作原理探讨 was the previous entry in this blog.

Find recent content on the main index or look in the archives to find all content.

Powered by Movable Type 4.01