From: Florian Forster Date: Sat, 28 Feb 2009 14:40:45 +0000 (+0100) Subject: README: Documented the `--with-fp-layout' configure option. X-Git-Tag: collectd-4.6.2~5^2~13 X-Git-Url: https://git.octo.it/?p=collectd.git;a=commitdiff_plain;h=2f884d925bd7e84ecd302e795ccf4e3077a70f2a README: Documented the `--with-fp-layout' configure option. --- diff --git a/README b/README index e698786a..539574a2 100644 --- a/README +++ b/README @@ -454,12 +454,24 @@ Crosscompiling that the compiled binary actually behaves as it should, but since NANs are likely never passed to the libm you have a good chance to be lucky. + Likewise, collectd needs to know the layout of doubles in memory, in order + to craft uniform network packets over different architectures. For this, it + needs to know how to convert doubles into the memory layout used by x86. The + configure script tries to figure this out by compiling and running a few + small test programs. This is of course not possible when cross-compiling. + You can use the `--with-fp-layout' option to tell the configure script which + conversion method to assume. Valid arguments are: + + * `nothing' (12345678 -> 12345678) + * `endianflip' (12345678 -> 87654321) + * `intswap' (12345678 -> 56781234) + Contact ------- - For questions, bugreports, development information and basically all other - concerns please send an email to collectd's mailinglist at + For questions, bug reports, development information and basically all other + concerns please send an email to collectd's mailing list at . For live discussion and more personal contact visit us in IRC, we're in @@ -473,5 +485,6 @@ Author Sebastian tokkee Harl , and many contributors (see `AUTHORS'). - Please send bugreports and patches to the mailinglist, see `Contact' above. + Please send bug reports and patches to the mailing list, see `Contact' + above.