The DJGPP compiler

本文提供了DJGPP编译器的基本安装步骤及所需文件列表,适用于DOS及Windows 95到XP的1x86平台。介绍了如何下载安装包、设置环境变量,并验证安装是否成功。
The DJGPP compiler is a DOS port of the unix GCC compiler for DOS (or windows 95->XP) 1x86 platforms.
If you want more than the basics visit the Zip picker
The minimum set of files you need to build my jukebox projects are:
PathDescriptionBytesDownload
v2/readme.1stInstallation instructions22,141USA UK
v2/copying.djDJGPP Copyright info2,084USA UK
unzip32.exeUnzip tool (if you need one)96,644USA UK
v2/djdev203.zipDJGPP Basic Development Kit1,530,778USA UK
v2gnu/bnu215b.zipBasic assembler & linker3,508,408USA UK
v2gnu/gcc343b.zipBasic GCC compiler3,781,700USA UK
v2gnu/mak3791b.zipMake (to processes makefiles)272,798USA UK
v2misc/csdpmi5b.zipCWSDPMI - DPMI server (to run under "real" DOS)54,550USA UK
To install these files:
  • Download these files (just click on the links)
  • Create a new directory to install them into (eg c:/djgpp, avoid spaces, and stick to 8.3 names)
    mkdir c:/djgpp
  • Unzip the files to this directory (creating the tree)
    unzip32.exe bnu215b.zip -d c:/djgpp
    unzip32.exe csdpmi5b.zip -d c:/djgpp
    unzip32.exe djdev203.zip -d c:/djgpp
    unzip32.exe gcc343b.zip -d c:/djgpp
    unzip32.exe mak3791b.zip -d c:/djgpp
  • Let the tools know where the djgpp.env file is:
    set DJDIR=c:/djgpp
  • Add the bin directory to your path,
    PATH=%DJDIR%/bin;%PATH%
Just to check
gcc -v
Should return a few lines, ending with
gcc version 3.4.3

Of course you don't have to install the tools into c:/djgpp, but you should avoid spaces in the path name, and keep each level below 8 characters (because the tools run with 8.3 filenames, and you can get aliasing otherwise). 
 
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值