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 Boron (released on 2010-04-01)

This is the binary release of Frama-C for Mac OS X Intel (Leopard and
Snow Leopard). 

In addition to software from MacPorts, this package contains 
Frama-C 20100401, OCaml 3.11.2, Why 2.26 and alt-ergo 0.91.

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_B/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 be using Leopard (10.5)
and use the provided OCaml compiler in /usr/local/Frama-C_B/ocaml-3.11.2.
The provided compiler is incompatible with Snow Leopard.


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_B/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.
If someone knows how to fix this, please contact me.

* 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 April 23, 2010 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.