torsdag 03 juni 2004 01:54 skrev Roy Butler:
Örn,
http://www.pathname.com/fhs/pub/fhs-2.3.html#LIB64
Read the rationale and you may agree it was the right thing to do.
I understand the rationale, but I hardly agree with it. As of current, 64bit systems require more memory and cpu power, just run the system because of this rationale. You have both 32bit and 64bit libraries loaded and running at the same time. I see this implementation, as a handicap. Ideally, the system should be able to allow the same program to use either 32bit or 64bit libraries at will. Of course, this isn't so easy to do as you have 64bit values being passed to a program expecting 32bits. If it's a pointer to an int, the problem is solved by the architecture itself (only the lower 32bits would be written by a 32bit program). I understand that this ideal solution, is too hard to implement at this point in time. But on a native 64bit system, my opinion is that 32bit libraries should not be the norm. Regardless of the amount of 32bit programs around. As all programs compiled for the architecture, will be 64bits unless otherwise specified and this "otherwise specified" gives ample room for alternative library locations.