Gentoo Archives: gentoo-alt

From: Burcin Erocal <burcin@××××××.org>
To: gentoo-alt@l.g.o
Subject: Re: [gentoo-alt] OT: gcc-apple and fortran support
Date: Wed, 16 Nov 2011 16:55:41
Message-Id: 20111116175531.7a77b768@carl.erocal.org
In Reply to: Re: [gentoo-alt] OT: gcc-apple and fortran support by Fabian Groffen
1 On Wed, 16 Nov 2011 16:48:11 +0100
2 Fabian Groffen <grobian@g.o> wrote:
3
4 > On 16-11-2011 16:34:42 +0100, Burcin Erocal wrote:
5 > > I've been developing a (math oriented) scientific software
6 > > distribution [1] based on gentoo-prefix and sage-on-gentoo [2].
7 > > This relies on the compiler and toolchain on the host instead of
8 > > building everything from scratch. Progress is rather slow, since I
9 > > don't have much time to work on this, but it's getting there.
10 > >
11 > > [1] https://bitbucket.org/burcin/sage-prefix
12 > > [2] https://github.com/cschwan/sage-on-gentoo
13 > >
14 > > It can build Sage [3] with all it's dependencies (modulo jmol - a
15 > > java application for 3D graphs) on various linux distros. I don't
16 > > have access to any OSX machines other than a 10.5 PPC box, where
17 > > everything that doesn't need a fortran compiler works. I've had
18 > > reports that OSX 10.6 is in a similar state.
19 >
20 > If you'd use the Prefix toolchain, you could also do all fortran stuff
21 > on OSX, since the Prefix gcc-apple has Fortran added :)
22
23 The aim is to keep the size around that of Sage, 325 MB tarball with all
24 sources [1] or 469 MB lzma 64-bit linux binary. This is already
25 difficult, including the toolchain would make it impossible.
26
27 [1] http://mirror.switch.ch/mirror/sagemath/src/index.html
28 [2] http://mirror.switch.ch/mirror/sagemath/linux/64bit/index.html
29
30
31 Sage distributes g95 and gfortran binaries for OSX. I tried to use a g95
32 binary on the 10.5 PPC box mentioned above. It insisted on using
33 libtool installed on the host which was too old and couldn't handle
34 some of the options g95 gave. I might have to give gcc-apple a try
35 after all.
36
37
38 Cheers,
39 Burcin