On 22-04-17 22:30, Ken Moffat wrote:
On Sat, Apr 22, 2017 at 09:49:25PM +0200, Frans de Boer wrote:
Ok, my mistake: lib64 contains some links, I found out how to eliminate the
use of lib64 at all.
 From your next paragraph, you eliminated the use of lib.

The case of using lib64 instead of lib required some more work since many
packages use hard-coded references to lib. Since the FHS does not mandate
the use of lib - it's in fact optional if using lib64/32 - I tried to find a
way to create a system without the use of lib, but instead use lib64 or
lib32 only. In that way the system is aware again of its architecture
instead of using the antiquated - but historical grown - lib directory.
No worry, the architectural independent /var/lib is still there.

--- Frans.

If you are building on biarch multilib, lib32 instead of lib may
have some merit and lib64 is presumably required.

But on x86_64 I do not think many people need multilib, and you lose
the benefit of 99% of packages which use a lib directory defaulting
to lib.  I suppose you put --libdir=something and -m32 or -m64 in
some standard variables when you compile.

Using --libdir=  is only a very small part of the solution.

On systems which are not multilib, it seems a lot of trouble to go
to.  And I don't think your system has awareness of anything, but
you as the sysadmin may find it helps to know whether it is 32-bit
or 64-bit.  I guess that depends on how many systems you are trying
to keep track of ;-)

I've now essentially stopped building 32-bit, but for some years I
did build both x86_64 and some i686 in LFS - and my buildscripts
didn't need to care about the libdir name.  Except for nss, I think.

Your system, your rules.  Enjoy it.

ĸen

Hm, I understand, I think. If most people jump into the water it must be save to do the same? I do like to have my system being aware of its architecture. What if we move to 96- or 128-bit systems? Are we still using the antiquated lib naming scheme?

Also, 32-bit software is still being used in older servers but also in home appliances who nowadays look much more like micro-computers running some flavor of linux or the likes. We have come a long way since the 4/8-bit era, but 32-bit is still heavily in use.

--- Frans
--
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style

Reply via email to