From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1QawFE-00019A-DC for garchives@archives.gentoo.org; Sun, 26 Jun 2011 20:47:52 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 51A541C1A9; Sun, 26 Jun 2011 20:46:30 +0000 (UTC) Received: from mailout-de.gmx.net (mailout-de.gmx.net [213.165.64.23]) by pigeon.gentoo.org (Postfix) with SMTP id D6F811C1A9 for ; Sun, 26 Jun 2011 20:46:29 +0000 (UTC) Received: (qmail invoked by alias); 26 Jun 2011 20:46:28 -0000 Received: from p5B08482C.dip.t-dialin.net (EHLO pc.localnet) [91.8.72.44] by mail.gmx.net (mp065) with SMTP; 26 Jun 2011 22:46:28 +0200 X-Authenticated: #13997268 X-Provags-ID: V01U2FsdGVkX18IJj8T0+0I6rF9064FOfh709uK6ECBTdLYa4UThM LniZa7iDwmbKiY From: Michael Schreckenbauer To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Re: Do we have to build gcc with fortran now? Date: Sun, 26 Jun 2011 22:46:28 +0200 Message-ID: <1629850.gmj20dm6u1@pc> User-Agent: KMail/4.6.0 (Linux/2.6.38-gentoo; KDE/4.6.4; x86_64; ; ) In-Reply-To: <4E07900F.701@gmail.com> References: <4E0167C4.9080100@gmail.com> <1356628.dAT3mRUGLW@pc> <4E07900F.701@gmail.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Y-GMX-Trusted: 0 X-Archives-Salt: X-Archives-Hash: 0aaf6ce7d6e4e266d0e9da58737c411b Am Sonntag, 26. Juni 2011, 15:01:19 schrieb Dale: > Michael Schreckenbauer wrote: > > Am Sonntag, 26. Juni 2011, 10:28:47 schrieb Dale: > >> Michael Schreckenbauer wrote: > >>> Am Samstag, 25. Juni 2011, 14:58:56 schrieb Peter Humphrey: > >>>> Whether "many" operations are written in Fortran is immaterial. > >>>> What > >>>> matters to me is whether any on my system are. If they aren't, I > >>>> don't need a Fortran compiler and I'd rather not waste system > >>>> resources on building one. > >>> > >>> Try euse -I fortran. > >>> If anything besides gcc pops up, you should have one. > >>> > >>> Regards > >>> Michael > >> > >> That doesn't appear to work like it should then. I get this: > >> > >> root@fireball / # euse -I fortran > >> global use flags (searching: fortran) > >> ************************************************************ > >> [+ CD ] fortran - Adds support for fortran (formerly f77) > >> > >> Installed packages matching this USE flag: > >> sys-devel/gcc-4.4.5 > >> > >> local use flags (searching: fortran) > >> ************************************************************ > >> no matching entries found > >> root@fireball / # > >> > >> Thing is, I know a couple packages use it on this rig because I just > >> had > >> to recompile them. Cantor and R are two that I recall. > >> > >> Maybe it is because it is not a option in the list? The USE flag that > >> is. > > > > Iirc you had problems with -fortran, because you have packages that > > really need fortran. My suggestion was for people like Peter, who have > > no problems without fortran. It shows only packages which could perform > > better, if a fortran compiler is available and otherwise fallback to a > > C implementation. At least, I think it does :) > > > >> Dale > >> > >> :-) :-) > > > > Michael > > Thing is, I switched it back and programs on here now need fortran to > build. So, euse is not reporting it but R and Cantor won't build > without fortran. That's because R needs a fortran compiler to compile. It does not have a C fallback solution for its maths. cantor depends on R per default. So it won't build until a working R is installed. Peter is not having problems without fortran. Everything compiles fine. So I am quite shure he has neither R nor cantor installed or any other program that needs a fortran compiler to build at all. This euse command shows only packages where fortran is optional. This means better performance, when enabled, in all (at least almost all) cases. > Basically, euse should also report R and cantor but it > isn't. If mine isn't reporting that, then Peter's may not either. That's impossible, I think. euse reports USE-flags. These programs don't have a fortran-USE-flag. R needs it unconditionally.. > Dale > :-) :-) Michael