From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,d61d377b7b3b3b35 X-Google-Attributes: gid111c93,public From: Toon Moene Subject: Re: egcs g77 and RH5.0 Date: 1998/03/05 Message-ID: <6dn4di$5od$5@news.utrecht.NL.net>#1/1 X-Deja-AN: 331194281 References: <6dm2ir$ck2$1@upsn21.u-psud.fr> Organization: Moene Computational Physics, Maartensdijk, The Netherlands Newsgroups: comp.os.linux.alpha idir@lure.u-psud.fr (Idir Mourad) wrote: > - Things seem working fine on the c/c++ side, > but I am having big segmentation faults > when running certains fortran subroutines > compiled with egcs g77 1.0.1 There are known bugs in egcs-1.0.1/g77 when using negative lower bounds in arrays. This might be your problem. On the Other Hand, segmentation faults can also be caused by using to much stack space. Note that the default in g77 is to allocate arrays less than 32K in size on the stack. Read the documentation of your shell on how to enlarge that limit. -- Toon Moene (mailto:toon@moene.indiv.nluug.nl) Saturnushof 14, 3738 XG Maartensdijk, The Netherlands Phone: +31 346 214290; Fax: +31 346 214286 g77 Support: mailto:fortran@gnu.org; NWP: http://www.knmi.nl/hirlam