Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Jan 2010 08:54:33 +0000
From:      freebsd-ports@coreland.ath.cx
To:        ports@freebsd.org
Subject:   GNAT and LAPACK
Message-ID:  <20100103085433.GA81202@logik.internal.network>

next in thread | raw e-mail | index | archive | help
Whilst attempting to compile a program I wrote, it suddenly occurred to
me that using anything in the Ada.Numerics package causes the compiler
to emit code that depends on the math/lapack port (the stuff in the GNAT
runtime is basically just a binding to lapack).

This creates a further problem as installing the math/lapack port requires
a Fortran compiler and that means one of the other GCC ports will be compiled
as a dependency...

To clarify this confusing situation: The lang/gnat-gcc44 port needs to
be able to compile one of it's own (sometimes) runtime dependencies.

I'm happy to enable the C++ and gfortran backends in the lang/gnat-gcc44
port but I suspect it'll be necessary to update either math/lapack
or bsd.gcc.mk in order to allow the lang/gnat-gcc44 port to compile
math/lapack. I do regular builds on 7.2 i386/amd64 and 8.0 i386/amd64
with "ada,c,c++,fortran" so I'm confident there won't be any serious
problems with the port itself.

Perhaps somebody with a clue could tell me what the right way to handle
this mess is.

M



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100103085433.GA81202>