This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Installation Question! (A suggestion)



On Tue, 7 Aug 2007, FX Coudert wrote:

> >        (sudo) tar -xjvf gfortran-sys_pakage.tar.bz2 -C /
>
> That will mess with the system compiler, and interfere with package
> management. People who want to try the latest probably want to have
> it aside, for which the current packaging is great, I think

No. It does not interfere. Re-read the mail. I wrote

  prefix_dir="/usr/local/gfortran"

so that the above tar command installs GFortran in /usr/local/gfortran!

This happens, for example, with the Cygwin package:
http://gcc.gnu.org/wiki/GFortranBinariesCygwin and also with my build on
Linux.

After the installation one should create:

  ln -sf /usr/local/gfortran/bin/gfortran.exe /usr/local/bin/gfc

  ln -s /usr/local/gfortran/bin/gfortran.exe /usr/local/bin/gfortran



Cheers,

   Angelo.



> If we were to make system packages, we should be building RPMs
> or .deb, but that is for stable compilers, provided by vendors.
>
> > (why still .gz?)
>
> Because it's more common that bz2, and I'm not sure that there is a
> lot to gain by bzip2'ing...
>
> FX
>
>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]