Re: There can be only one: LAPACK and F2C vs G77 on the Alpha
> > Yes it is, but *statically* linked, as there is no libg2c.so.*.
> > gcc -lf2c similarly *statically* links in libf2c (yes, even though
> > libf2c.so.x is available.) If you make a symbolic link
> > /usr/lib/libf2c.so -> libf2c.so.2 to force the issue, there's a
> > link-time error when the dynamic link is attempted.
> Given the contents of libf2c and libg2c, it wouldn't make a whole
> lot of sense to dynamically link to either
I think we should link libf2c & friends dynamically for the same
reason we link libm dynamically: we have the infrastructure for it,
and these little puppies are not really so small!
$ uname -m
alpha
$ ls -l /usr/lib/lib{f2c,m}.a `locate g2c.a` /usr/lib/libf2c.so.2.1
-rw-r--r-- 1 root root 637124 Jun 23 1998 /usr/lib/libf2c.a
-rw-r--r-- 1 root root 409982 Feb 14 11:59 /usr/lib/libm.a
-rw-r--r-- 1 root root 2403038 Feb 4 09:52 /usr/lib/gcc-lib/alpha-linux/egcs-2.91.60/libg2c.a
-rw-r--r-- 1 root root 159032 Jun 23 1998 /usr/lib/libf2c.so.2.1
$ uname -m
i686
$ ls -l /usr/lib/lib{f2c,m}.a `locate g2c.a` /usr/lib/libf2c.so.2.1
-rw-r--r-- 1 root root 270444 May 17 1998 /usr/lib/libf2c.a
-rw-r--r-- 1 root root 268806 Feb 11 13:05 /usr/lib/libm.a
-rw-r--r-- 1 root root 2394082 Feb 2 08:54 /usr/lib/gcc-lib/i486-linux/egcs-2.91.60/libg2c.a
-rw-r--r-- 1 root root 113804 May 17 1998 /usr/lib/libf2c.so.2.1
Reply to: