Go to main content

マニュアルページ セクション 1: ユーザーコマンド

印刷ビューの終了

更新: 2018年8月8日
 
 

ocamlmktop (1)

名前

ocamlmktop - Building custom toplevel systems

形式

ocamlmktop  [  -v  ]  [  -cclib libname ] [ -ccopt option ] [ -custom [
-o exec-file ] [ -I lib-dir ] filename ...

説明


OCAMLMKTOP(1)               General Commands Manual              OCAMLMKTOP(1)



NAME
       ocamlmktop - Building custom toplevel systems


SYNOPSIS
       ocamlmktop  [  -v  ]  [  -cclib libname ] [ -ccopt option ] [ -custom [
       -o exec-file ] [ -I lib-dir ] filename ...


DESCRIPTION
       The ocamlmktop(1) command builds Objective Caml toplevels that  contain
       user  code  preloaded  at start-up.  The ocamlmktop(1) command takes as
       argument a set of x.cmo and x.cma files, and links them with the object
       files  that implement the Objective Caml toplevel.  If the -custom flag
       is given, C object files and libraries (.o and .a files)  can  also  be
       given on the command line and are linked in the resulting toplevel.


OPTIONS
       The following command-line options are recognized by ocamlmktop(1).

       -v     Print the version number of the compiler.

       -cclib -llibname
              Pass the -llibname option to the C linker when linking in ``cus-
              tom runtime'' mode (see the corresponding option for ocamlc(1).

       -ccopt Pass the given option to the C compiler and linker, when linking
              in  ``custom  runtime''  mode.  See the corresponding option for
              ocamlc(1).

       -custom
              Link in ``custom runtime'' mode. See  the  corresponding  option
              for ocamlc(1).

       -I directory
              Add  the given directory to the list of directories searched for
              compiled interface files (.cmo and .cma).

       -o exec-file
              Specify the name of the toplevel file produced  by  the  linker.
              The default is is a.out.



ATTRIBUTES
       See attributes(7) for descriptions of the following attributes:


       +---------------+------------------+
       |ATTRIBUTE TYPE | ATTRIBUTE VALUE  |
       +---------------+------------------+
       |Availability   | runtime/ocaml    |
       +---------------+------------------+
       |Stability      | Volatile         |
       +---------------+------------------+
SEE ALSO
       ocamlc(1).



NOTES
       This     software     was    built    from    source    available    at
       https://github.com/oracle/solaris-userland.   The  original   community
       source      was      downloaded     from      http://caml.inria.fr/dis-
       trib/ocaml-3.11/ocaml-3.11.2.tar.bz2

       Further information about this software can be found on the open source
       community website at http://www.ocaml.org.



                                                                 OCAMLMKTOP(1)