djgpp/rhide根本没法用-_-b

tomtung 2007-03-09 08:33:15
我按照官网的说明安装了djgpp+rhide,说明为:

Note: Don't install djgpp in /dev as djgpp treats that directory specially.

Note: If your FTP site doesn't have the selected files, please choose another one, like ftp.delorie.com

Note: Do not install DJGPP in a directory that requires long file name support (i.e. no spaces, 8.3 characters)

Note: The FAQ has information on adjusting the registry so that one installation works with both long and short filenames (Win 95/98/NT and DOS)

Note: To view online documentation and help, run the "info" program.

Note: RHIDE has an online help viewer also.

Note: Start RHIDE in the directory with your sources, so that it puts the .exe there also.

Note: In RHIDE, press F1 twice to get help on help

Note: Sample compile command: gcc hello.c -o hello.exe

Note: Use gxx (or append -lstdcx to your gcc command line) to compile and link C++ programs (*.cc)

Note: If you get errors about cout, iostream.h, streambuf.h, or libiostream.a, please read the FAQ

Note: Append -lobjc to your gcc command line to link Objective-C programs

Note: Assember files should have a .S extension.

Read the file README.1ST before you do anything else with DJGPP! It has important installation and usage instructions.

unzip32.exe to unzip the zip files 95 kb

v2/copying.dj DJGPP Copyright info 3 kb
v2/djdev203.zip DJGPP Basic Development Kit 1.5 mb
v2/faq230b.zip Frequently Asked Questions 664 kb
v2/readme.1st Installation instructions 22 kb

v2apps/rhid15ab.zip RHIDE 6.0 mb

v2gnu/bnu2161b.zip Basic assembler, linker 3.3 mb
v2gnu/gcc410b.zip Basic GCC compiler 4.4 mb
v2gnu/gpp410b.zip C++ compiler 4.5 mb
v2gnu/mak3791b.zip Make (processes makefiles) 267 kb
v2gnu/objc410b.zip Objective-C compiler 5.7 mb
v2gnu/txi48b.zip Info file viewer 779 kb

Total bytes to download: 28,503,914

Installation Instructions for winXP
Use Explorer to create a folder for DJGPP. My Computer, Drive C, File->New->Folder, "DJGPP".

Use djgpp's unzip32.exe to unzip all the zips you downloaded into the C:\DJGPP folder. Don't unzip them each into separate folders - unzip them all to the same place. The directory structure inside each zip file should be preserved, so you end up with files like c:\djgpp\bin\gcc.exe and c:\djgpp\include\stdio.h

C:\> mkdir djgpp
C:\> cd djgpp
C:\DJGPP> unzip32 d:\tmp\djdev203.zip
C:\DJGPP> unzip32 d:\tmp\faq230b.zip
C:\DJGPP> unzip32 d:\tmp\rhid15ab.zip
C:\DJGPP> unzip32 d:\tmp\bnu2161b.zip
C:\DJGPP> unzip32 d:\tmp\gcc410b.zip
C:\DJGPP> unzip32 d:\tmp\gpp410b.zip
C:\DJGPP> unzip32 d:\tmp\mak3791b.zip
C:\DJGPP> unzip32 d:\tmp\objc410b.zip
C:\DJGPP> unzip32 d:\tmp\txi48b.zip

When properly installed, you should have a c:\djgpp\bin directory, and in it should be at least gcc.exe, as.exe, and stubify.exe. If all the files are in c:\djgpp with no subdirectories, or you see directories like c:\djgpp\djdev203\, you need to delete everything and try a different unzip program.

Make sure you use the djgpp's unzip32, or some other unzip that doesn't support long file names. If you install with WinNT long file names, C++ programs won't compile. Another option is to use pkunzip instead (see the MS-DOS install instructions) or read the FAQ about the NameNumericTail registry key.

Right-click My Computer, select Properties. Select the Advanced tab, then the Environment Variables button. Edit the Path (or PATH, whichever exists) system variable to include C:\DJGPP\BIN at the front. (If you are not an administrator, add it to the PATH variable in the User Variables section, or add a new PATH user environment variable which contains only C:\DJGPP\BIN) Add a new variable DJGPP set to C:\DJGPP\DJGPP.ENV (system variable if possible, user variable if not an administrator) .

You'll need to close and reopen your MS-DOS windows for these changes to take effect.

Rather than edit your autoexec files and/or global environment, you may wish to create a djgpp shortcut instead. To do this, create a c:\djgpp\djgpp.bat that has lines like this:

@echo off
set PATH=c:\djgpp\bin;%PATH%
set DJGPP=c:\djgpp\djgpp.env
chdir c:\djgpp\mystuff (or any other directory)
command

(you can replace that last line with any other shell you'd like)

然后执行批处理,输入rhide,运行rhide后看到about窗口,然后鼠标键盘都动不了,在全屏和窗口模式下都一样,而且窗口属性里我能找到的都调了,使用兼容模式,还是不行……该怎么办呢?
...全文
432 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
赵磊 2011-02-15
  • 打赏
  • 举报
回复
DJGPP自动运行版
有一个,有没有人帮忙下下来?
grub2linux2 2007-03-20
  • 打赏
  • 举报
回复
这可能是 CMD窗口的内存问题
如下,试
右键程序,把扩展内存设为自动.

24,854

社区成员

发帖
与我相关
我的任务
社区描述
C/C++ 工具平台和程序库
社区管理员
  • 工具平台和程序库社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧