delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/04/05/10:30:22

Date: Tue, 5 Apr 1994 09:52:12 +0500
From: ronis%onsager AT onsager DOT chem DOT mcgill DOT ca (David Ronis)
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: compiler problem with nmake

I have an old program that is compiled with djgpp.  I use microsoft's
nmake to process the makefile.  The program normally compiles
flawlessly.  I recently upgraded to .maint4 version of djgpp and now I
have problems compiling the code; specificially, no matter which module
I try and compile something like:

E>nmake -f gnumake DEBUG=

Microsoft (R) Program Maintenance Utility   Version 1.11
Copyright (c) Microsoft Corp 1988-90. All rights reserved.

        gcc -O0 -m486 -g -DCOLOR -DX_PLOT -DPOSTSCRIPT -c complete.c
Segmentation violation in pointer 0x0a0a3a65 at d8:a0a3a65
eax=ffffffff ebx=00000006 ecx=7ffff8bc edx=00000000 esi=00016544 edi=0000f276
ebp=6c696664 esp=7ffff8b0 cs=d8 ds=48 es=48 fs=48 gs=48 ss=48 cr2=00003a65
Call frame traceback EIPs:
  0x0a0a3a65
Unsupported INT 0x2f
  0x00000000
NMAKE : fatal error U1077: 'gcc' : return code '120'
Stop.

The module doesn't matter.  If I manually enter the gcc command at the dos prompt, the
module compiles as expected.  I'm running on a 486, with 16 Meg ram, under DV/X 2.0.
I also replaced go32 with the .maint3 version, but this gave the same problem.  Finally, 
I've used the make that comes with djgpp to compile other code and it works as expected.

Any advice would be appreciated.


David Ronis

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019