ftp.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/03/25/12:59:45

From: PhishFan <bc21634 AT bingsuns DOT cc DOT binghamton DOT edu>
Subject: Help a Newbie...
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Date: Sat, 25 Mar 1995 12:15:07 -0500 (EST)

Hello,
	I've got DJGPP for my PC in order to overcome the slowness of
our Mainframe at SUNY Binghamton.  It is great but I'm having a
problem that I can't seem to solve.  It goes like this:

	I keep getting "Segmentation Faults (errors???)" every time I
try to run my code (using GO32 to run the program).  This error ONLY
occurs when I try to do something like allocate memory (ie. malloc) or
maybe when using strcpy to copy strings referenced by pointers etc..

It seems like I'm missing some simple command line switch with go32,
since the same exact program runs fine on the actual SUN OS.

I hope this is an appropriate place to ask a question like this...
Oh, by the way I am also using FLEX, BISON, and GCC when this problem
occurs (ie. I'm writing a compiler for a grad class....)

Thanks for help or pointing me in the write direction....,
Fred Iannon
***************************************************************************
Fred Iannon
bc21634 AT bingsuns DOT cc DOT binghamton DOT edu

***************************************************************************

- Raw text -


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