Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Dec 1997 00:58:23 -0500 (EST)
From:      Chuck Robey <chuckr@glue.umd.edu>
To:        FreeBSD-Hackers@FreeBSD.org
Subject:   gcc error
Message-ID:  <Pine.BSF.3.96.971222005515.4983T-100000@picnic.mat.net>

next in thread | raw e-mail | index | archive | help
I was trying to compile ddd version 2.2 for a project, and I got an error:

==> Making all in ./ddd...
Building ddd-2.2-i386-unknown-freebsd3.0...
c++  -DHAVE_CONFIG_H -DNDEBUG -O2 -g -Wall -fexternal-templates
-felide-constructors -fconserve-space -c -I. -I. -I./..
-I/usr/X11R6/include -o ddd.o ddd.C
ddd.C: In function `int main(int, char **)':
ddd.C:2490: virtual memory exhausted
*** Error code 1

This can't possibly refer to FreeBSD's memory, seeing as this is a big
machine, with 192M of swap, and it wasn't even fractionally full.  I think
it's some gcc/g++ (note it's a C++ file being compiled) problem, but I
don't know how to increase g++'s idea of memory.

Does anyone else know how?

----------------------------+-----------------------------------------------
Chuck Robey                 | Interests include any kind of voice or data 
chuckr@glue.umd.edu         | communications topic, C programming, and Unix.
213 Lakeside Drive Apt T-1  |
Greenbelt, MD 20770         | I run Journey2 and picnic, both FreeBSD
(301) 220-2114              | version 3.0 current -- and great FUN!
----------------------------+-----------------------------------------------







Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.971222005515.4983T-100000>