Building GFortran on Cygwin
Jerry DeLisle
jvdelisle@verizon.net
Sat Sep 30 21:58:00 GMT 2006
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
More information about the Fortran
mailing list