Note: these instructions refer to an older release of Frama-C; for the latest stable release, click here

Mac OS X Leopard installation for Frama-C Carbon (released on 2011-02-01)

This is the binary release of Frama-C for Mac OS X. 

In addition to software from MacPorts, this package contains 
OCaml 3.12.0, Why 2.29 and alt-ergo 0.92.2.

Please untar the archive as root in / 
It will *not* work from another location.
You should probably install the included DejaVu fonts 
(see the first bug in the following list).
You should also put the directory /usr/local/Frama-C_Carbon/bin 
in your path.
Once all this is done, you are set up.

To play the tutorial from http://frama-c.com/try_out.html, type:

frama-c-gui -slevel 10 first.c

This distribution includes the Jessie deductive verification plug-in.
If you wish to compile external plug-ins, you must use the
provided OCaml compiler in /usr/local/Frama-C_Carbon/ocaml-3.12.0.
Dynamic linking is unavailable on Snow Leopard. Either use Leopard
or compile as bytecode.


Some known bugs with this binary distribution:

* The display of unicode characters is broken with the default settings.

A workaround is to install the "DejaVu Sans" and "DejaVu Sans Mono" fonts 
provided in the folder /usr/local/Frama-C_Carbon/dejavu_fonts.

To install the fonts, open the files "DejaVuSans.ttf" and "DejaVuSansMono.ttf"
and click the button "Install font" that appears in the Font Book dialog.

Note: this workaround shouldn't be necessary. When it is used by the
system (as opposed to pango), the Monaco font (for instance) falls back to
another more complete font for the unicode characters that are missing.

* The package should include a Mac OS X-ish theme, to make appearance,
keybindings, ... closer to a native Mac OS X application.

* On first launch, Why requires the user to run the why-config program:
This issue is not specific to this distribution. Why needs to detect which
automatic provers are installed. Only the automatic prover alt-ergo
is provided in this distribution, but you can install any other prover.
If you install more Why-supported provers, make sure they are in your PATH
and run why-config again.

* On first use, displaying the call graph takes a long time:
Again, this is not specific to this distribution. The first time a graph
is displayed, some fonts need to be generated in ~/.fontconfig.
These are cached for subsequent use.

The fine print:

This distribution contains software provided as binaries 
as a convenience only. Each piece of software is covered
by its respective license. The SVN repository
of MacPorts of January 17, 2011 should be considered as the reference for 
the distributed software. The MacPorts SVN repository contains links to
source code, for those pieces of software which make this a condition
to re-distribution.