GFem language documentation -- 2.3.1 Configure script

Up: 2.3 X Windows
Next: 2.3.2 Without the configure script

### 2.3.1 Configure script

type:

    configure
    make
    make install #if you want to install the software on a site

The binary `freefem` will be in the directory `src`.

We use `autoconf` and `automake` in conjunction in order to be as general as possible. These tools are not required to use or compile freeFEM but if you want to change the code you will need these.

These tools are available on the GNU ftp site: `ftp://prep.ai.mit.edu`. You can get them in France at `ftp://ftp.ibp.fr/pub/gnu`.

##### 2 Mesh adaptation library

If you want to compile the mesh adaptation library type:

    configure --with-adapt
    make
    make install #if you want to install the software on a site

It will enable the mesh adaptation features in freeFEM. Note that you have to recompile almost everything.

##### 3 FreeFEM and Gfem

XGfem is a commercial product. You can use FreeFEM and XGfem together. If you want to do it (i.e. so you have purchased XGfem, congratulations) do the following thing:

    configure --with-gfem
    make
    make install #if you want to install the software on a site

Note that it will enable the mesh adaptation library also.

##### 4 Optimization

There is an optional flag for `configure` which enables optimization flags for the compiler:

    configure --with-optimization

It can be used with the others flags without problems. It guesses the optimization flags according to the compiler.