delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/09/30/20:36:06

X-Spam-Check-By: sourceware.org
Date: Sun, 1 Oct 2006 02:35:52 +0200 (MET DST)
From: Angelo Graziosi <Angelo DOT Graziosi AT roma1 DOT infn DOT it>
To: cygwin AT cygwin DOT com
Subject: Problems with patched gnu make ? (was:Need Volunteers to test patch for gnu make)
Message-ID: <Pine.OSF.4.21.0610010222410.5978-100000@ax0rm1.roma1.infn.it>
MIME-Version: 1.0
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

I use this since Sep 08, but now I have found a problem with
http://www.cmake.org/files/cygwin/make.exe.

When I build GFortran with this version of make it fails:
--------------------------------------------------------
...
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 
....
--------------------------------------------------------


Using the official version in Cygwin of make (make-3.81-1) the build
is completed without problem:
---------------------------------------------------------------
....
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'
(echo "@set version-GCC 4.2.0"; \
	 if [ "experimental" = "experimental" ]; \
	 then echo "@set DEVELOPMENT"; \
	 else echo "@clear DEVELOPMENT"; \
	 fi) > gcc-vers.texiT
echo "@set srcdir /home/Angelo/Downloads/GFortran/gcc/gcc" >>
gcc-vers.texiT
mv -f gcc-vers.texiT gcc-vers.texi
if [ xinfo = xinfo ]; then \
		makeinfo --split-size=5000000 --split-size=5000000
--split-size=5000000 --no-split -I . -I
/home/Angelo/Downloads/GFortran/gcc/gcc/doc \
			-I
/home/Angelo/Downloads/GFortran/gcc/gcc/doc/include -o doc/cpp.info
/home/Angelo/Downloads/GFortran/gcc/gcc/doc/cpp.texi; \
	fi

... 
---------------------------------------------------------------

To build GFortran
-----------------------------------------------------------
Unpack http://quatramaran.ens.fr/~coudert/gfortran/gcc-svn.tar.bz2

then
../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

make 
make install
-----------------------------------------------------------




Cheers,

  Angelo.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019