This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: gfortran
- From: FX Coudert <fxcoudert at gmail dot com>
- To: ETCHEVERRY David <david dot etcheverry at bg-21 dot com>
- Cc: gfortran <fortran at gcc dot gnu dot org>
- Date: Sat, 22 Jul 2006 18:04:30 +0200
- Subject: Re: gfortran
- References: <F6FC524C80C47348BAC562C15045E78601B3F1@srvmail.intra.bg-21.com>
Transferring this to the list, as the answer might benefit others:
Pourriez-vous me détailler la procédure pour installer gfortran à partir de l'image disque http://quatramaran.ens.fr/~coudert/gfortran/gfortran-macosx.dmg ?
which can be (poorly) translated into:
Could you give details about the installation procedure for gfortran
on MacOS, once one has downloaded the disk image
http://quatramaran.ens.fr/~coudert/gfortran/gfortran-macosx.dmg?
First: the gfortran binaries I upload are for MacOS 10.4. They are
linked from http://gcc.gnu.org/wiki/GFortran and a short installation
instructions page can be found at
http://gcc.gnu.org/wiki/GFortranBinariesMacOS . To be able to use the
GNU Fortran compiler, you need the Apple Developer Tools installed
(Xcode and friends); they're usually found on your Apple OS installation
CD/DVD. If they're not installed yet (check the presence of a directory
named Developer at the root of your disk.
Now, once you've downloaded the gfortran disk image, run the installer
inside it. Upon completion, you will have gfortran installed inside
directory /usr/local/gfortran, with a symbolic link for the compiler as
/usr/local/bin/gfortran. To use it, open a Terminal and run gfortran by
typing
/usr/local/bin/gfortran myfile.f90 -o myprog.exe
Now, there's one more thing you need to do before your install is fully
functionnal: update your cctools (the core of the developer tools) to
the latest version, by downloading and installing
ftp://gcc.gnu.org/pub/gcc/infrastructure/cctools-590.36.dmg
Once that's done, you should be fully able to use the compiler. Some
more basic info about compiling mutliple-files projects can be found at
http://gcc.gnu.org/wiki/GFortranGettingStarted
Regards,
FX