The command cr2C creates an executable file
to use nls2C.
Syntax
cr2C <model-filename> [options]
Arguments:
-
model-filename:
-
pathname of the formal
model-description file or, if a C or Fortran
program exists to calculate
the model, pathname of this file.
In this last case, the suffix of the file
determines the langage, C or Fortran.
Suffix ".o" is also valid for a C-compiled file.
Options:
-
-exe|-EXE followed by the name of the executable-file
to be created.
-
When this option is not set,
the name of the executable-file is equal to the first argument,
suffix ".exe" added.
-
-m|-M followed by the filename of the main program.
-
The suffix of the file
determines the langage, C or Fortran.
Suffix ".o" is also valid for a C-compiled file.
When this option is not set,
the standard main program is used.
-
-c|-C followed by a list of other used C-programs filenames.
-
-f|-F followed by a list of other used Fortran-programs filenames.
-
-o|-O followed by a list of other used compiled filenames.
-
-ldopt|-LDOPT followed by a character string.
-
This introduces the "-L", "-l" and "-I" options for the Makefile,
i.e the names of the libraries-directories, the librairies names,
and the names of the include-directories.
"-L" specifications should be set before "-l" specifications.
-
-own|OWN followed by the filenames of
the
programs required when method
is equal to MYOWN.
-
These are the programs
calculating the estimating equations B, D, Eta,
the sufficent statistics Z, and the statistical criterion.
Function:
This command:
-
Creates the C-source file calculating the model,
except when the argument has a C or Fortran
source-file suffix, or the suffix ".o"
-
Compiles it,
except when the argument has suffix ".o"
-
Links and creates the executable-file.
Examples:
©
INRA, 2001-