|
From: | Paul Probert |
Subject: | Re: out of memory building oct file |
Date: | Sun, 15 May 2005 13:14:17 -0500 |
User-agent: | Mozilla Thunderbird 1.0.2 (Windows/20050317) |
Geraint Paul Bevan wrote: ...
I have encountered a few internal compiler errors with g++ when I have asked it to optimise C++ programs which have included particularly complex expressions. You could try setting the CXXFLAGS environment variable to include -O0 to prevent g++ from attempting to optimise the code: CXXFLAGS='-O0' mkoctfile hello.cc
...Thanks very much. It works with -O0 and also with -O1. I didn't know that you could define an environment variable like that... Thanks for that lesson too!
Paul Probert University of Wisconsin ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html -------------------------------------------------------------
[Prev in Thread] | Current Thread | [Next in Thread] |