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: <41ADCF48.2070302@familiehaase.de> Date: Wed, 01 Dec 2004 15:03:52 +0100 From: "Gerrit P. Haase" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.3) Gecko/20040910 MIME-Version: 1.0 To: Ata Bilgili CC: cygwin AT cygwin DOT com Subject: Re: gcc-g77 4.4.1-1 stack memory error References: <42820683 AT newblitzen DOT Dartmouth DOT EDU> In-Reply-To: <42820683@newblitzen.Dartmouth.EDU> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Ata Bilgili wrote: > G'day; > > I have a Fortran 77 code involving the finite element > solution of rather large matrices using a conjugate gradient > method. The code trustfully runs with g77 on Linux and Unix > with no problems. > > When I tried running it this morning using the Cygwin > gcc-g77 3.3.3-3, it complied nicely but I got a runtime > error of "MapViewOfFileEx failed, Win32". I then installed > gcc-g77 3.4.1-1 and the same thing happened but with rather > different error messages: First I got a *.exe.stackdump file > (attached) and then received a Segmentation Error. > > An internet search yields -Wl --stack=XXXX options for gcc. > Is there any workaround for g77? This is rather frustrating, > knowing that I have to find a way to get this to work under > Cygwin. I believe this is a Windows problem rather than > Cygwin but!!! Cygcheck output is also attached. -Wl,--stack=XXXX This is needed on Cygwin if your stack will grow beyond 2MB because the stack size cannot be modified dynamically. Gerrit -- =^..^= -- 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/