aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06
diff options
context:
space:
mode:
Diffstat (limited to 'chapter06')
-rw-r--r--chapter06/libffi.xml8
1 files changed, 8 insertions, 0 deletions
diff --git a/chapter06/libffi.xml b/chapter06/libffi.xml
index 1ebee758d..24b8879ef 100644
--- a/chapter06/libffi.xml
+++ b/chapter06/libffi.xml
@@ -42,6 +42,14 @@
<sect2 role="installation">
<title>Installation of Libffi</title>
+ <note>
+ <para>Similar to GMP, libffi builds with optimizations specific
+ to the proccesor in use. If building for another system, export
+ CFLAGS and CXXFLAGS to specify a generic build for your architecture.
+ If this is not done, all applications that link to libffi will trigger
+ Illegal Operation Errors.</para>
+ </note>
+
<para>Modify the Makefile to install headers into the standard
<filename class="directory">/usr/include</filename> directory instead of
<filename class="directory">/usr/lib/libffi-3.2.1/include</filename>.</para>