Xref: news2.mv.net comp.os.msdos.djgpp:4436 From: slutzky AT ccnet DOT com (Tayx / SSE) Newsgroups: comp.os.msdos.djgpp Subject: Segmentation/GP Errors Date: 1 Jun 1996 04:58:33 GMT Organization: CCnet Communications (510-988-7140 guest) Lines: 15 Message-ID: <4ooilp$hof@ccnet2.ccnet.com> NNTP-Posting-Host: ccnet3 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp I have DJGPP-2 and GCC working nearly perfectly. However, what I really want is to get GPC/TPC/BPC working. Now, as far as I can tell, GPC (meaning TPC and BPC as well), uses a different version of go32.exe that should be placed in /DJGPP/BIN. I have go32 v1.12.maint3. I also have go32-v2.exe in that directory. Is this correct? Ok, if I compile a .C program, it works fine. However, if I try to compile a .PAS program with one of the Pascal compilers, I invariably get Segmentation Violation Error or General Protection Fault errors. Am I doing something wrong? The error occurs when /DJGPP/BIN/AS.EXE is called although this call works fine when compiling C programs. If there is something I have done wrong or am not doing, please help me. ;) Thanx.. Sam