Mail Archives: djgpp/1995/04/12/18:24:50
On Wed, 12 Apr 1995, Matthew Richey wrote:
> enviroment variables and such. When I run "tryit" all is
> fine. In general, I can compile C programs.
>
> The problem occurs when I try a C++ compile. I get the dreaded
> segmentation fault.
How much memory do you have? It seems that the C++ compiler takes up
more memory (maybe at the link stage?) and so is more sensitive to memory
problems. When I only had 4 Megs of RAM I ran into problems like this.
>
> I suspect that the problem is linked to a
> similar problem when I run 112m4.bat. It also gives me a segementation
> fault.
>
I think 112m4.bat runs 'ar' and fixes a large library file, so it also
probably uses quite a bit of RAM.
It should probably be mentioned in the FAQ that if one's available
physical memory is below some (unspecified) minimum the djgpp tools are
prone to seg faults.
PS -- I'm usually wrong when I bother to post to this group!
Good Luck
Bill Davidson
bdavidson AT ra DOT isisnet DOT com
- Raw text -