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: building gfortran from cvs


Paul Brook wrote:

Once you've checked out the repository gcc -qz9 up -PAd In the toplevel source directory should be sufficient to update your tree.

Good point, although I still need '-r tree-ssa-20020619-branch'. Without it I got a bunch of patches and something like 'f95: language not available'.

Also, the savannah.gnu.org (aka. subversions.gnu.org) mirror is once again operational. You should use that in preference to gcc.gnu.org.

Wilco.


You seem to have got yourself into a bit of a mess, so I suggest deleting whatever you've done so far, and starting again.

Excellent advice.


I was able to get an executable,

 $ gfortran -c  kinddefs_module.f90
 $ gfortran -c  info_module.f90
 $ gfortran -c  allocate_module.f90
 allocate_module.f90:0: fatal error: gfc_todo: Not Implemented: arrays of strings

which I suppose is due to,

    396   subroutine char_my_realloc_ptrn(x,n,dim1)
    397
    398     integer,                        intent(in) :: dim1, n
    399     character(len=n), dimension(:), pointer    :: x

FWIW, here's what worked,

 [installed GMP]
 sudo rm -rf /usr/local/pkgs/gcc-ssa
 sudo mkdir gcc-ssa
 cd gcc-ssa
 sudo cvs -d :ext:anoncvs@savannah.gnu.org:/cvsroot/gcc -z9 \
   co -P -rtree-ssa-20020619-branch gcc
  sudo mkdir obj
  cd obj
  sudo ../gcc/configure --prefix=/usr/local/pkgs/gcc-ssa \
    --disable-libmudflap --enable-languages=c,f95 --with-gmp=/usr/local

The only troubling item is the search order warning for each compilation,
for example,

../gcc/gcc -I../../gcc/gcc/. -I../../gcc/gcc/../include -I../../gcc/gcc/../libbanshee/libcompat -I../../gcc/gcc/../libbanshee -I../../gcc/gcc/../libbanshee/points-to -I/usr/local/include ../../gcc/gcc/fold-const.c -o fold-const.o
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning:   as it has already been specified as a non-system directory
gfortran -c  allocate_module.f90
allocate_module.f90:0: fatal error: gfc_todo: Not Implemented: arrays of strings

Regards and many thanks for shepherding this bonehead,
--
Bil, NASA, Hampton, Virginia, USA


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