Mercurial > hg > octave-nkf
annotate doc/interpreter/mkoctfile.1 @ 7948:af10baa63915 ss-3-1-50
3.1.50 snapshot
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Fri, 18 Jul 2008 17:42:48 -0400 |
parents | 7b382848a18f |
children | eb63fbe60fab |
rev | line source |
---|---|
7018 | 1 .\" Copyright (C) 2000, 2002, 2003, 2004, 2005, 2006, 2007 |
2 .\" Dirk Eddelbuettel | |
3 .\" | |
4 .\" This file is part of Octave. | |
5 .\" | |
6 .\" Octave is free software; you can redistribute it and/or modify it | |
7 .\" under the terms of the GNU General Public License as published by the | |
8 .\" Free Software Foundation; either version 3 of the License, or (at | |
9 .\" your option) any later version. | |
10 .\" | |
11 .\" Octave is distributed in the hope that it will be useful, but WITHOUT | |
12 .\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | |
13 .\" FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License | |
14 .\" for more details. | |
15 .\" | |
16 .\" You should have received a copy of the GNU General Public License | |
17 .\" along with Octave; see the file COPYING. If not, see | |
18 .\" <http://www.gnu.org/licenses/>. | |
19 .\" | |
20 .\" This page was contributed by Dirk Eddelbuettel <edd@debian.org> | |
21 .\" | |
4149 | 22 .TH MKOCTFILE 1 "1 November 2002" "GNU Octave" |
23 .SH NAME | |
7595
90ad1f69ca9d
Escape "-" signs that mean the "minus" character
Rafael Laboissiere <rafael@debian.org>
parents:
7018
diff
changeset
|
24 mkoctfile \- Compile dynamic-load modules for GNU Octave |
4149 | 25 .SH SYNOPSIS |
7595
90ad1f69ca9d
Escape "-" signs that mean the "minus" character
Rafael Laboissiere <rafael@debian.org>
parents:
7018
diff
changeset
|
26 .BR mkoctfile\ [\-IDIR]\ [\-DDEF]\ [\-lLIB]\ [\-LDIR]\ [\-M|\-\-depend]\ |
90ad1f69ca9d
Escape "-" signs that mean the "minus" character
Rafael Laboissiere <rafael@debian.org>
parents:
7018
diff
changeset
|
27 [\-c]\ [\-o FILE|\-\-output FILE]\ [\-p VAR|\-\-print VAR]\ [\-s|\-\-strip]\ |
90ad1f69ca9d
Escape "-" signs that mean the "minus" character
Rafael Laboissiere <rafael@debian.org>
parents:
7018
diff
changeset
|
28 [\-v|\-\-verbose]\ [\-h|\-?|\-\-help]\ \fIfile\fP .\|.\|. |
4149 | 29 .SH DESCRIPTION |
30 .PP | |
31 \fImkoctfile\fP is used to compile source C, C++ or Fortran source code in | |
4672 | 32 dynamically loadable |
33 .I .oct | |
4149 | 34 file for |
35 .BR octave (1). | |
36 .SH OPTIONS | |
37 \fImkoctfile\fP accepts the following options: | |
38 .TP 8 | |
39 .B \-IDIR | |
40 Add include directory DIR to compile commands. | |
41 .TP 8 | |
42 .B \-DDEF | |
43 Add definition DEF to compiler call. | |
44 .TP 8 | |
45 .B \-lLIB | |
46 Add library LIB to link command. | |
47 .TP 8 | |
48 .B \-LDIR | |
49 Add library directory DIR to link command. | |
50 .TP 8 | |
51 .B \-M|\-\-depend | |
52 Generate dependency files (.d) for C and C++ source files. | |
53 .TP 8 | |
54 .B \-c | |
55 Compile but do not link. | |
56 .TP 8 | |
57 .B \-o FILE|\-\-output FILE | |
7595
90ad1f69ca9d
Escape "-" signs that mean the "minus" character
Rafael Laboissiere <rafael@debian.org>
parents:
7018
diff
changeset
|
58 Output file name; default extension is .oct (or .mex if \-\-mex is |
5864 | 59 specified) unless linking a stand-alone executable. |
4149 | 60 .TP |
61 .B \-p VAR|\-\-print VAR | |
62 Print configuration variable VAR. Recognized variables are: | |
63 .RS | |
5669 | 64 ALL_CFLAGS FFTW_LIBS |
65 ALL_CXXFLAGS FLIBS | |
66 ALL_FFLAGS FPICFLAG | |
67 ALL_LDFLAGS INCFLAGS | |
68 BLAS_LIBS LDFLAGS | |
69 CC LD_CXX | |
70 CFLAGS LD_STATIC_FLAG | |
71 CPICFLAG LFLAGS | |
72 CPPFLAGS LIBCRUFT | |
73 CXX LIBOCTAVE | |
74 CXXFLAGS LIBOCTINTERP | |
75 CXXPICFLAG LIBREADLINE | |
76 DEPEND_EXTRA_SED_PATTERN LIBS | |
77 DEPEND_FLAGS OCTAVE_LIBS | |
78 DL_LD RDYNAMIC_FLAG | |
79 DL_LDFLAGS RLD_FLAG | |
80 F2C SED | |
81 F2CFLAGS XTRA_CFLAGS | |
82 F77 XTRA_CXXFLAGS | |
83 FFLAGS | |
4149 | 84 .RE |
85 .TP 8 | |
5745 | 86 .B \-\-link-stand-alone |
87 Link a stand-alone executable file. | |
6024 | 88 .TP 8 |
5864 | 89 .B \-\-mex |
90 Assume we are creating a MEX file. Set the default output extension | |
91 to .mex. | |
5745 | 92 .TP 8 |
4149 | 93 .B \-s|--strip |
94 Strip the output file. | |
95 .TP 8 | |
96 .B \-v|--verbose | |
97 Echo commands as they are executed. | |
98 .TP 8 | |
99 .B file | |
5745 | 100 Compile or link file. Recognised file types are |
4149 | 101 .RS |
102 .c C source | |
103 .cc C++ source | |
104 .C C++ source | |
105 .cpp C++ source | |
106 .f Fortran source | |
107 .F Fortran source | |
108 .o object file | |
6294 | 109 .a library file |
7647
7b382848a18f
Remove spurious whitespace before macros
Rafael Laboissiere <rafael@debian.org>
parents:
7595
diff
changeset
|
110 .SH SEE ALSO |
7b382848a18f
Remove spurious whitespace before macros
Rafael Laboissiere <rafael@debian.org>
parents:
7595
diff
changeset
|
111 .BR octave (1). |
4149 | 112 .RE |
113 .SH AUTHOR | |
114 John W. Eaton <jwe@bevo.che.wisc.edu> | |
115 | |
116 This manual page was contributed by Dirk Eddelbuettel | |
117 <edd@debian.org> for the Debian GNU/Linux distribution but | |
118 may be used by others. |