PC TOOLS (GNU-Compilers)

This page describes the tools used to compile the examples files in the opt-L (local optimization and non-linear fit) page.

We used the GNU-Compilers because of its universal access and portability from the PC to UNIX platforms and vice-versa.
Other compilers may be used, but in that case you may need to change the Makefiles and perhaps the source-code.

Please note that the goal of this page is to provide with an easy-to use way to install and use the compilers. For more particularized installations, as well as for full documents on the compilesrs, see the "Links" section. The compilers used here are not necessarily up-to-date nor optimized for your particular use, but there are a valuable starting point.

Fortran G77 compiler

We had problems using the g77 compiler shipped withing the EGCS package, therefore, we needed an independent installation. This installation is the only you need if wanted to compile only Fortran (not C) code in your PC.

To install the g77 compiler:

To use the g77 compiler:

GNU C compilers (gcc and g++)

Here we show how to install the GNU C compilers with some additional stuff needed to create callable DLL files (for example, for being used from IDL).
The packages to be installed are: MINGW32-Compiler, EGCS-1.1.1-Compiler and dllhelpers-0.2.1.

To install them, you can select between the Fast installation or the detailed installation options:

Fast installation of the GNU-Compilers:

Detailed installation of the GNU-Compilers:

Quick help

To get some help about the compilers options have a look to the text files in the directory:
ftp.esrf.fr/pub/expg/pc-tools/Comp-Set

Links

The information and files of this page have been obtained from:




[Back to opt-L]



Last modified: 17 August 1999
Christoph Michetschlaeger and M. Sanchez del Rio (srio@esrf.fr)
~