From: span AT PROBLEM_WITH_INEWS_GATEWAY_FILE (M.M. Span) Newsgroups: comp.os.msdos.djgpp Subject: Re: Memory Models Date: 19 Mar 1997 09:17:01 GMT Organization: Rijksuniversiteit Groningen Message-ID: <5goaud$kbk@info.service.rug.nl> References: <01bc33c8$f05661c0$ae80dec2 AT default> NNTP-Posting-Host: psy.ppsw.rug.nl Lines: 40 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp A stupid answer but the only correct one: Read the FAQ! This question is really one of those a FAQ was intended to answer, so please please please, read the FAQ! Alex (alex99 AT death-star DOT com) wrote: > I am pretty new to DJGPP but I think it's great especially because it's > FREE!!! > My question is: > I am trying to compile a program from a Tutorial that was written for > Borland C and at the top of the source code it say's: > "Remember to compile in the LARGE memory model!" > What is and how do I access this Memory Model??? > Please reply soon because I really need this program to compile. > I am using a P75 with 16mb with Win95, when I compile the program at the > moment and run it, this is what comes up: > "General Protection Fault at eip=000021ba > eax=a0000000 ebx=00093603 ecx=00090004 edx=00000000 esi=0000011f > edi=0000002f > ebp=0004e4a4 esp=0004af30 program=C:\ALEX\DJ\MOUSE.EXE > cs: sel=00a7 base=85645000 limit=0009ffff > ds: sel=00b7 base=85645000 limit=0009ffff > es: sel=00b7 base=85645000 limit=0009ffff > fs: sel=0087 base=00019aa0 limit=0000ffff > gs: sel=00c7 base=00000000 limit=ffffffff > ss: sel=00b7 base=85645000 limit=0009ffff > Call frame traceback EIPs: > 0x000021ba > 0x00002f8e" > Please Please Please reply, > Thanks