RE: [Boost-users] Re: why so many .so and .a files for boost?
That 's right. Try command: $ls -l libboost_regex-gcc-d.so -rwxr-xr-x 2 tomtan staff 5.5M Feb 21 10:54 libboost_regex-gcc-d.so Now see the second column. more than 1 (2 in this case) means this file has hard links. Anyway, why not a symbolic link ? -----Original Message----- From: boost-users-bounces@lists.boost.org [mailto:boost-users-bounces@lists.boost.org] Sent: Wednesday, April 20, 2005 17:14 To: boost-users@lists.boost.org Subject: [Boost-users] Re: why so many .so and .a files for boost? Sliwa, Przemyslaw (London) wrote:
I was wondering why I get duplicates on my Linux box as well. The files are with 1_32 and without extension and they are exactly the same.
On any Unix I would expect those to be hardlinks to each other. Are you sure this is not the case? Markus _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
Tom Tan (SH/RDC) wrote:
That 's right. Try command: $ls -l libboost_regex-gcc-d.so -rwxr-xr-x 2 tomtan staff 5.5M Feb 21 10:54 libboost_regex-gcc-d.so Now see the second column. more than 1 (2 in this case) means this file has hard links. Anyway, why not a symbolic link ?
It's a long story.. But at the end it's what was easiest to implement at the time :-) As for the Windows case, it does a copy instead of the ln. -- -- Grafik - Don't Assume Anything -- Redshift Software, Inc. - http://redshift-software.com -- rrivera/acm.org - grafik/redshift-software.com -- 102708583/icq - grafikrobot/aim - Grafik/jabber.org
Rene Rivera wrote:
Tom Tan (SH/RDC) wrote:
That 's right. Try command: $ls -l libboost_regex-gcc-d.so -rwxr-xr-x 2 tomtan staff 5.5M Feb 21 10:54 libboost_regex-gcc-d.so Now see the second column. more than 1 (2 in this case) means this file has hard links. Anyway, why not a symbolic link ?
It's a long story.. But at the end it's what was easiest to implement at the time :-)
As for the Windows case, it does a copy instead of the ln.
On my Linux installation, those are all symlinks, nothing is hard linked. How come? -- Matthias Kaeppler
Matthias Kaeppler wrote:
On my Linux installation, those are all symlinks, nothing is hard linked. How come?
Most likely because the packager for your installation did extra work to get it that way. The default, when one does "bjam .. install", is to use hardlinks. -- -- Grafik - Don't Assume Anything -- Redshift Software, Inc. - http://redshift-software.com -- rrivera/acm.org - grafik/redshift-software.com -- 102708583/icq - grafikrobot/aim - Grafik/jabber.org
participants (3)
-
Matthias Kaeppler
-
Rene Rivera
-
Tom Tan (SH/RDC)