Jan Wielemaker
unread,Jan 22, 2019, 11:30:51 AM1/22/19Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to swi-p...@googlegroups.com
Hi,
I've uploaded some patches to the development version after the
struggles by erlanger dealing with cross-compilation that makes .qlf
files and saved states (they use the same format) independent from the
architecture. They used to be byte-order independent, although that too
was no longer the case for unbounded integers or wide strings (strings
with char codes >= 256).
The current format is both truely byte-order indendent, but also
word-size independent (32 vs 64-bit). It is still Prolog version
dependent. That might be relaxed for future versions.
Erlanger is working on supporting multiple architectures for foreign
plugins in a saved state, which would allow packaging complete
applications for different archicitectures as a single state. Running
that state does still require a swipl binary compiled for the target
architecture of course.
If you rely on saved states or QLF and/or want to explore the
possibilities, please test the current git version.
Enjoy --- Jan