math/blas linking to gfortran with LDADD?= -lgfortran
peterjeremy at acm.org
Sun Sep 5 22:09:33 UTC 2010
On 2010-Aug-31 17:14:50 -0400, jhell <jhell at DataIX.net> wrote:
>On 08/31/2010 15:06, b. f. wrote:
>> Would you elaborate, please? Where is a transcript showing the linking failure?
>> Would you mail it to me off-list?
>Simply -lgfortran by it self should not work. Since lib directories
Actually, IMO, since libgfortran.so is a support library for gfortran
(much like libgcc_s.so is), it is reasonable for a user to expect
that '-lgfortran' _is_ sufficient and the current behaviour is a bug.
ports/129518 says I'm not the only person who think that.
>-L/usr/local/lib/gcc44 would have to be passed to LDFLAGS in order for
>it to be found.
And '-R/usr/local/lib/gcc44' as well.
Note that a work-around has been added to bsd.gcc.mk so that ports
with USE_GCC shouldbehave correctly and the problem is limited to
using a non-base gcc outside the ports system.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20100905/d5e4737d/attachment.pgp
More information about the freebsd-ports