summaryrefslogtreecommitdiff
path: root/docs/autoconf.html
diff options
context:
space:
mode:
authorDan Nicholson <dbn.lists@gmail.com>2007-12-26 11:12:29 -0600
committerDan Nicholson <dbn.lists@gmail.com>2007-12-26 15:38:30 -0600
commitab57cbaccccb30fd743ba3283251430e6bc3a071 (patch)
tree02898c2b71f76ef6e162c80f9c2f7381221d156a /docs/autoconf.html
parent4c5a2b3af214e7a0ec0742b17beb1e719552ecae (diff)
autoconf: Helper options for adding GCC 32/64 bit flags
Two new configure options to add -m32 or -m64 to the CFLAGS and CXXFLAGS when GCC is in use. By default, the user supplied options are environment variables are respected, but these options are quick helps for the common case of x86/x86_64 using GCC.
Diffstat (limited to 'docs/autoconf.html')
-rw-r--r--docs/autoconf.html7
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/autoconf.html b/docs/autoconf.html
index ab1e21db08..964ff140ab 100644
--- a/docs/autoconf.html
+++ b/docs/autoconf.html
@@ -124,6 +124,13 @@ available for a few architectures. These will be used by default if
one of these architectures is detected. This option ensures that
assembly will not be used.
</li>
+<li><code>--enable-32-bit, --enable-64-bit</code> - By default, the
+build will compile code as directed by the environment variables
+<code>CC</code>, <code>CFLAGS</code>, etc. If the compiler is
+<code>gcc</code>, these options offer a helper to add the compiler flags
+to force 32- or 64-bit code generation as used on the x86 and x86_64
+architectures.
+</li>
</ul>
</p>