Date: Mon, 10 Jun 1996 12:24:33 +0200 (IST) From: Eli Zaretskii To: Gregory Byrd Cc: djgpp AT delorie DOT com Subject: Re: STUBIFY generates segment violation In-Reply-To: <31bba779.1941566@news.hargray.com> Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Mon, 10 Jun 1996, Gregory Byrd wrote: > gcc -v -o args.exe args.c > > All is well until it runs STUBIFY, where it either hangs or yields a > segment violation. Run go32-v2 without arguments and post everything it prints. The full output of gcc when run with the above command line will also help. Another thing to try is to set LFN=n from the DOS prompt and run gcc again. > I'm running it from a dos window under WIN95. Is that supposed to > work? Yes. > Memory management is HIMEM.SYS and EMM386. Not in the DOS box for DJGPP programs. DJGPP uses the DPMI services built into Windows. A few more questions: Do you run gcc on a local or a netwokred disk? Does STUBIFY hang if make it a separate step and run it from the command line: gcc -v -o args args.c stubify args