Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <434E1454.5090008@mathematik.uni-kl.de> Date: Thu, 13 Oct 2005 10:01:24 +0200 From: Oliver Wienand User-Agent: Mozilla Thunderbird 0.9 (Windows/20041103) MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: gcc, very high template-depth Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hello, I try to compile polymake on cygwin. Compiling works fine as long as cc1plus does not occupy more memory than I have RAM (ca. 750 MB) on my machine. After this it gets of course really slow. I think the problem is, that polymake uses templates very heavy and compiles with --ftemplate-depth-200. When I reduce the value as much to resolve my memory problems, I get of course errors about template-depth not high enough. I must confess I am rather not a expert for gcc, therefore can I do something to reduce memory consumptions or any other tricks to compile polymake? I have tried the optimization parameters -O -O1 -03. On Linux it seems to compile with even less RAM than I have. Polymakes home : http://www.math.tu-berlin.de/polymake/ Source Distribution : http://www.math.tu-berlin.de/polymake/download/polymake-2.1.0.tar.bz2 (without latest patches) I used: make configure C++ compiles = g++ C compiler = gcc Opt. Level = -O compiler flags = -march=pentium4 make Sincerely, Oliver Wienand TU Kaiserslautern -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/