[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: gEDA-user: ngspice subckt problems



On Thursday 14 August 2008, Christoph Lechner wrote:
> Hmm, looks like the g++ compiler of Debian 3.1 (still running
> that fairly 'mature' distro :) can't handle the source code
> of gnucap. Looks like the code of gnucap triggers some bug in
> the really old g++ version that shipped with Debian 3.1.
>
> g++ dies with
> make[2]: Entering directory
> `/loc_files/ngspice-build/gnucap-2008-05-27/src' g++
> -DHAVE_CONFIG_H -I. -I..   -DNDEBUG  -g -O2 -MT d_mos8.o -MD
> -MP -MF .deps/d_mos8.Tpo -c -o d_mos8.o d_mos8.cc
>
> cc1plus: out of memory allocating 2653014200 bytes after a
> total of 24993792 bytes

Known compiler bug.  It's the optimizer.  Turn off optimization 
and it should work.

Since you are not using that model, you could leave it out.  
Just edit the makefile to remove "d_mos8.model" .

If you are using Debian, you could just "apt-get install gnucap" 
but the some of the features you want are only in the 
development version.  The latest is 2008-08-10.

Still, it won't read your file as is, as I said in another mail.


_______________________________________________
geda-user mailing list
geda-user@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user