summaryrefslogtreecommitdiff
path: root/devdocs/bash/compilers-and-options.html
diff options
context:
space:
mode:
Diffstat (limited to 'devdocs/bash/compilers-and-options.html')
-rw-r--r--devdocs/bash/compilers-and-options.html10
1 files changed, 10 insertions, 0 deletions
diff --git a/devdocs/bash/compilers-and-options.html b/devdocs/bash/compilers-and-options.html
new file mode 100644
index 00000000..8c8f2204
--- /dev/null
+++ b/devdocs/bash/compilers-and-options.html
@@ -0,0 +1,10 @@
+<h1 class="section">Compilers and Options</h1> <p>Some systems require unusual options for compilation or linking that the <code>configure</code> script does not know about. You can give <code>configure</code> initial values for variables by setting them in the environment. Using a Bourne-compatible shell, you can do that on the command line like this: </p> <div class="example"> <pre class="example">CC=c89 CFLAGS=-O2 LIBS=-lposix ./configure
+</pre>
+</div> <p>On systems that have the <code>env</code> program, you can do it like this: </p> <div class="example"> <pre class="example">env CPPFLAGS=-I/usr/local/include LDFLAGS=-s ./configure
+</pre>
+</div> <p>The configuration process uses GCC to build Bash if it is available. </p><div class="_attribution">
+ <p class="_attribution-p">
+ Copyright &copy; 2000, 2001, 2002, 2007, 2008 Free Software Foundation, Inc.<br>Licensed under the GNU Free Documentation License.<br>
+ <a href="https://www.gnu.org/software/bash/manual/html_node/Compilers-and-Options.html" class="_attribution-link">https://www.gnu.org/software/bash/manual/html_node/Compilers-and-Options.html</a>
+ </p>
+</div>