Re: prebuilding 32-bit caches on a 64-bit system

Mike Frysinger <[email protected]>
Newsgroups gmane.comp.fonts.fontconfig
Message-ID <20180119221200.GL7217@vapier>
On 09 Jan 2018 13:24, Keith Packard wrote:
> Akira TAGOH <[email protected]> writes:
> > I did similar thing in Fedora to have both fc-cache-32 and fc-cache-64
> > installed all together and bring both up from the script if available
> > on the system. I think that works enough. is there any reaons we may
> > prefer using FC_ARCHTECTURE?
> 
> Seems cleanest -- if you want le64 cache files, you should use
> fc-cache-le64 to generate them.

there's more to cache files than bitsize and endian.  look at fcarch.h --
it mixes in alignment of doubles too.  there's also pdp endian, but that's
probably never been tested anywhere, and fontconfig should just delete it.

installing multiple files might help with multilib builds, but it doesn't
help with cross-compiling.  it would be nice if fc-cache could deal with
the size/endian/alignment issues at runtime, then you only need one bin.
-mike

_______________________________________________
Fontconfig mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/fontconfig
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEuQK1JxMl+JKsJRrUQWM7n+g39YEFAlpibS8ACgkQQWM7n+g3
9YEqGhAAvyqTDsM3vD4+XRCgm0srqeAKPssEEya6DqlaCX+HxJ3xfSvwGVrW57LP
duABfVSO+WFIpQpUQzVYB+9VrtPML9L+SwYCVH9DRXJa01hJt3DgI0EyZSdiiGru
sJPzlLKN7Cf9k7QciKEH1rRv4pw0SO9l8Bc4BPRhZiiQEnpf0a15H2dR+apqESY9
2gG7Mp9lOPUFFkT5je+nDilGcHQFR26SBaOSPStBFpQ80Yg3PpnEUlJATqLdfAYE
Z4DzF2sWicg0iizs9suFL5VKbcXzwOaqvik0K+x/vPoWO1gPiAi/KgOOp9cwq97d
ZcoO5s8oG/2KJrNEk0NMaalZT3JLBUdR8csmNVEqKdmGCqgy7z5CQCYlWnaKyRUj
UdKXMG0+Ll0lZrMMWgohEUjpT4NYSAoS2bGMdCfKiUE+tCl+Pso77v6VKS6CZTBl
SGPCxDOMXb3YvNcP4g25WCDEMKpcUZCR+O0lkEzXzereHs98Hfft6Gxp48+ipIfe
W3GQ+bVtvlz3nu94IIwxZbUeXg9/fYrEOQLazAQ3V0Pnm/OhBb+KA2yeEmLtrDFz
y2MlJtTwCId8UfJ7jBiJeVtVKaBrtwbCgFJuxmhKL16gE5wPywgGkn/dTvH0Xgjs
9XPi/hE5HbLVqy9tTz1dLNsquu0Q7iQ5Z9+tJvH+7j2Ix5iaCWI=
=3LzP
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.