Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit f7fa77e

Browse files
author
Thomas G. Lockhart
committed
Include info on setting compiler options on the command line
when building executables.
1 parent db602e8 commit f7fa77e

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

doc/src/sgml/install.sgml

+11
Original file line numberDiff line numberDiff line change
@@ -430,6 +430,17 @@ Compile the program. Type
430430
change directory back to this directory, type "make clean", then
431431
recompile again.
432432
</Para>
433+
434+
<Para>
435+
Compiler options, such as optimization and debugging, may
436+
be specified on the command line using the COPT variable.
437+
For example, typing
438+
<ProgramListing>
439+
gmake COPT="-g" all >& make.log &
440+
</ProgramListing>
441+
would invoke your compiler's -g option in all steps of the
442+
build. See src/Makefile.global.in for further details.
443+
</Para>
433444
</Step>
434445

435446
<Step Performance="required">

0 commit comments

Comments
 (0)