Date: Fri, 3 Mar 1995 10:00:47 -0500 From: ah230 AT leo DOT nmc DOT edu (Donald R. Harter Jr.) To: djgpp AT sun DOT soe DOT clarkson DOT edu Subject: djgpp up and running on ps/2 microchannel Reply-To: ah230 AT leo DOT nmc DOT edu After much effort I was able to get djgpp installed on my IBM PS/2 system. I succeeded not from vast knowledge of dpmi, unix, or dos5.00. By trial and error I finally got the parameters set properly. I hope this message will be of value for any others who may have trouble installing djgpp on similiar systems. My first mistake was getting djgpp from the wrong place (MIT). A week later I got files from oak.oakland.edu and they looked completely different. Some problems were eliminated by doing this. DJGPP would not run with emm386.exe. I had read about this before on this newsgroup, but I had also read about others who had used this device driver in their config.sys file. Perhaps they had a different version of DOS. I am using dos5.00. I noticed that there were some memory management problems on dos corrective disks. DOS6.00 is supposed to have a much improved memory manager. Perhaps it just corrects bugs in dos5.00. Here is my config.sys file for an IBM PS/2 microchannel with 6MB of memory. device=c:\dos\himem.sys /numhandles=100 /machine:2 break=on stacks=64,512 files=40 buffers=20 device=c:\ansi.sys shell=c:\command.com /p/e:1100 dos=low,noumb install=c:\dos\fastopen.exe c: device=c:\dos\smartdrv.sys 2048 1024 device=c:\dos\ramdrive.sys 1500 /e In my autoexec.bat file I set TMPDIR and GO32TMP to my ram disk d:\temp. This greatly improved the performance of the sample programs. Some sample programs did not compile correctly. That is because the makefiles had unix job control language and not DOS commands. While experimenting with the config.sys file, I found out that djgpp does not use the int15 interface for memory management. The diagnostic top line of go32 was very helpful in showing this. I hope this is usefull to any "newbies" who may be installing djgpp for the first time. Hopefully this will save them some time. Don ah230 AT leo DOT nmc DOT edu