Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[Caml-list] executible difference between camlp4o and camlp4o.opt
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2004-07-14 (17:44)
From: Leo Rozenberg <leonidr@g...>
Subject: [Caml-list] executible difference between camlp4o and camlp4o.opt
We noticed another inconsistency between the 3.08.0 and 3.07
distributions. The 3.08.0 version was built from a modified (changed
3.07 to 3.08.0) SPEC file used to build previous RPM's.

In the 3.08.0 distribution there is inconsistent behavior between the
native and bytecode executables:

# camlp4o -v
Camlp4 version 3.08.0
# camlp4o -help
Usage: camlp4 [load-options] [--] [other-options]Load options:  -I
directory  Add directory in search patch for object files.  -where    
   Print camlp4 library directory and exit.  -nolib        No
automatic search for object files in library directory.  <object-file>
Load this file in Camlp4 core.Other options:  <file>        Parse this
  -intf <file>  Parse <file> as an interface, whatever its extension.
  -impl <file>  Parse <file> as an implementation, whatever its extension.
  -unsafe       Generate unsafe accesses to array and strings.
  -noassert     Obsolete, do not use this option.
  -verbose      More verbose in parsing errors.
  -loc <name>   Name of the location variable (default: loc)
  -QD <file>    Dump quotation expander result in case of syntax error.
  -o <file>     Output on <file> instead of standard output.
  -v            Print Camlp4 version and exit.
  -version      Print Camlp4 version number and exit.
  -help         Display this list of options.
Options added by loaded object files:
  -no_quot      Don't parse quotations, allowing to use, e.g. "<:>" as token
# camlp4o.opt -v
# camlp4o.opt -help


To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: