-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

W dniu 17.06.2011 18:41, Mike Frysinger pisze:
> On Friday, June 17, 2011 05:01:10 Kacper Kowalik wrote:
>> W dniu 17.06.2011 05:03, Mike Frysinger pisze:
>>>> DEPEND="virtual/fortran"
>>>>
>>>>> RDEPEND="${DEPEND}"
>>>
>>> i'm not sure that RDEPEND is correct.  do all fortran compilers
>>> additionally require the fortran compiler to be available at runtime ?
>>
>> They require fortran runtime library if they don't link it statically.
> 
> *if* there is a fortran runtime library in the first place.  gcc provides 
> one, 
> but does that mean all fortran compilers do ?

At least all that I've used have it. Gcc, path64/open64/ekopath-bin,
solstudio use shared lib. Pgi by default links statically, but have
shared too. Ifort has only static, but has "ugliness" called Portability
Library, which can be linked dynamically:

xarth@aiur:~$ ifort -fpscomp nolibs unlink.F90 -lifport
xarth@aiur:~$ ldd a.out | grep ifport
    libifport.so.5 =>
/opt/intel/Compiler/11.1/072/lib/intel64/libifport.so.5 (0x00007f0e05968000)

It *really* makes things easier if virtual/fortran is in RDEPEND. Is it
serious obstacle?
Cheers,
Kacper
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iJwEAQECAAYFAk37n1oACgkQIiMqcbOVdxTt+AP7BCeC8Aru8otXmquDy1RcAg8j
Cue952ty2FBn9R+O8P8p7H+FckP/qBcXIuSGdSq1tFR/0HNDlYjwZDIHliY/tUkm
RQV4qY5nMp11yemI/VXnwFXZ1qwjpIoUypj2e3JnjozV3hfSCBdm3FQQYhi0ROls
2ohZThxgrEL1Noq844A=
=ISqo
-----END PGP SIGNATURE-----

Reply via email to