Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!elroy.jpl.nasa.gov!decwrl!deccrl!bloom-beacon!eru!hagbard!sunic!mcsun!ukc!icdoc!cc.ic.ac.uk!rb From: rb@cc.ic.ac.uk (Robin Becker) Newsgroups: comp.binaries.ibm.pc.d Subject: djgcc PS/2 partial success Message-ID: <1991Mar21.194236.13983@cc.ic.ac.uk> Date: 21 Mar 91 19:42:35 GMT Organization: Imperial College Computer Centre Lines: 47 Originator: rb@cc.ic.ac.uk Nntp-Posting-Host: suns2cc After much cursing and swearing I finally managed to get dj's gcc working on my PS/2 model 70. I found that I had a program called ld.exe on my path before the one required by gcc. I can now get the following to compile and run, but!!!!!! when it reaches the 4Meg allocation it bombs the machine and I get an IBM code 113 on the screen with the disk light continuously on. After switching off and on I find that my GCCTMP dir has a 0 byte paging file in it. Has any one got any ideas why this program should run OK if I remove the tmalloc(4000000); and is it anything to do with MCA versus AT bus? Thanks in advance Robin. BTW I have nothing using XMS unless there's shadowing going on in some way i.e. I have eliminated all diskcaches etc. #include #include static void tmalloc(int n) { char *ptr=malloc(n); register int i; if(ptr!=NULL){ printf("%10d bytes allocated\n", n ); for(i=0;i