[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Coinstallability of Fortran libraries built with different compilers

On Sun, Oct 23, 2011 at 09:40:47AM +0200, Josselin Mouette wrote:
> Le samedi 22 octobre 2011 à 16:24 -0700, Steve Langasek a écrit : 
> > > One point to think of is how this works with multiarch, which is
> > > being introduced
> > > in Debian. Instead of 'ifort' should we use the architecture triplet, eg.
> > > i386-linux-intel instead ?
> > > Then the libraries go in i386-linux-intel rather than i386-linux-gnu
> > > for gfortran;
> > > ditto for the .mod files in /usr/include/i386-linux-intel

> > I'm not familiar with this i386-linux-intel triplet.  Is this a triplet
> > targeted by the toolchain?  Does software built for this target not use GNU
> > libc?  (I guess I can't presume that it uses any libc at all, since we're
> > speaking specifically of fortran here.)

> It uses the same libc, but it uses a different Fortran library.

> Because of that library, you can link Fortran libraries and programs
> only against other Fortran libraries built with the same compiler. The
> architecture triplet would be the same, but it would need an addition
> for the Fortran library.

Ok; it doesn't sound like multiarch is a good fit for this then,

Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
slangasek@ubuntu.com                                     vorlon@debian.org

Attachment: signature.asc
Description: Digital signature

Reply to: