This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: Building GFortran on Cygwin (solved)
- From: Angelo Graziosi <Angelo dot Graziosi at roma1 dot infn dot it>
- To: Jerry DeLisle <jvdelisle at verizon dot net>
- Cc: fortran at gcc dot gnu dot org
- Date: Sun, 1 Oct 2006 02:48:35 +0200 (MET DST)
- Subject: Re: Building GFortran on Cygwin (solved)
It seems that the problem is caused by an experimental version of MAKE
(http://cygwin.com/ml/cygwin/2006-09/msg00131.html). With the official
version all seems to work fine.
Many thanks,
Angelo.
On Sat, 30 Sep 2006, Jerry DeLisle wrote:
> Angelo Graziosi wrote:
> > It is almost an year that I build GFortran on Cygwin using the source
> > gcc-svn.tar.bz2, configuring as
> >
> >
> > ./configure --prefix=/usr/local/gfortran \
> > --enable-threads=posix \
> > --enable-sjlj-exceptions \
> > --with-system-zlib \
> > --disable-nls \
> > --disable-libmudflap \
> > --enable-version-specific-runtime-libs \
> > --without-included-gettext \
> > --disable-shared \
> > --enable-languages=c,fortran
> >
> >
> > and
> >
> > make
> > make install
> >
> >
> > I have tried a new build with the current 20060930 gcc-svn.tar.bz2 but it
> > fails in this way:
> >
> > ----------------------------------------------------
> > ...
> >
> > rm -f ./libgcov.a
> > ar rc ./libgcov.a libgcc/./_gcov.o libgcc/./_gcov_merge_add.o
> > libgcc/./_gcov_merge_single.o libgcc/./_gcov_merge_delta.o
> > libgcc/./_gcov_fork.o libgcc/./_gcov_execl.o libgcc/./_gcov_execlp.o
> > libgcc/./_gcov_execle.o libgcc/./_gcov_execv.o libgcc/./_gcov_execvp.o
> > libgcc/./_gcov_execve.o libgcc/./_gcov_interval_profiler.o
> > libgcc/./_gcov_pow2_profiler.o libgcc/./_gcov_one_value_profiler.o
> > ranlib ./libgcov.a
> > make[4]: Leaving directory
> > `/home/Angelo/Downloads/GFortran/gcc/.build/gcc'
> > make[3]: *** No rule to make target `cpp.texi', needed by
> > `doc/cpp.info'. Stop.
> > make[3]: Leaving directory
> > `/home/Angelo/Downloads/GFortran/gcc/.build/gcc'
> > make[2]: *** [all-stage1-gcc] Error 2
> > make[2]: Leaving directory `/home/Angelo/Downloads/GFortran/gcc/.build'
> > make[1]: *** [stage1-bubble] Error 2
> > make[1]: Leaving directory `/home/Angelo/Downloads/GFortran/gcc/.build'
> > make: *** [all] Error 2
> > ----------------------------------------------------
> >
> > Any idea of this fail ?
> >
> > I did the last useful build with the source gcc-svn.tar.bz2 Sep 03, 2006.
> >
> >
> > Cheers,
> >
> > Angelo.
> >
> >
> Angelo,
>
> Make sure you have all the build tools. See
> http://gcc.gnu.org/install/prerequisites.html
>
> Also, make sure your build directory is a completely different directory from
> the sources tree.
>
> Jerry
>