Re: Makefile ignores source

2012-03-28 Thread Harlan Stenn
> I want to build a target like this: > > $ cat Makefile.am > bin_PROGRAMS = prog > prog_SOURCES = file.f ../lib/lib.o Try prog_LDADD, and see http://www.gnu.org/software/automake/manual/automake.html#Program-and-Library-Variables H

Makefile ignores source

2012-03-28 Thread Justin Findlay
I want to build a target like this: $ cat Makefile.am bin_PROGRAMS = prog prog_SOURCES = file.f ../lib/lib.o prog_SOURCES propagates as defined through to the Makefile, but I can't figure out why `make prog` doesn't include ../lib/lib.o in the gfortran invocation. Is there a way to accomplish

Re: Binutils, GDB, GCC and Automake's 'cygnus' option

2012-03-28 Thread Ian Lance Taylor
Stefano Lattarini writes: >> (I think avoiding info documentation being built in the source directory, >> so that builds could use a non-writable source directory, may have been >> one part). >> > There is probably some hack to obtain this effect (it's tested in the > testsuite > somewhere), but

Re: Automake 1.11.3b test release

2012-03-28 Thread Stefano Lattarini
Hi Bob. On 03/28/2012 08:18 PM, Bob Friesenhahn wrote: > On Wed, 28 Mar 2012, Peter Rosin wrote: > >> On an up-to-date Cygwin 1.7 install, nothing unexpected. It's just the >> old problem with lzma.test that is worked around with >> >> export XZ_DEFAULTS=--memlimit=20MiB > > Is there is a r

Re: Automake 1.11.3b test release

2012-03-28 Thread Stefano Lattarini
Hi Peter. On 03/28/2012 07:54 PM, Peter Rosin wrote: > Stefano Lattarini skrev 2012-03-25 16:46: >> We are pleased to announce the Automake 1.11.3b test release. > *snip* > *more-snip* :-) > The other tests fail for reasons we have covered on master. I think so > anyway? > I think so as well. >

Re: Automake 1.11.3b test release

2012-03-28 Thread Bob Friesenhahn
On Wed, 28 Mar 2012, Peter Rosin wrote: Stefano Lattarini skrev 2012-03-25 16:46: We are pleased to announce the Automake 1.11.3b test release. *snip* Please report bugs and problems to , and send general comments and feedback to . On an up-to-date Cygwin 1.7 install, nothing unexpected. I

Re: Automake 1.11.3b test release

2012-03-28 Thread Peter Rosin
Stefano Lattarini skrev 2012-03-25 16:46: > We are pleased to announce the Automake 1.11.3b test release. *snip* > Please report bugs and problems to , and send > general comments and feedback to . On an up-to-date Cygwin 1.7 install, nothing unexpected. It's just the old problem with lzma.test t

bug#11007: incorrect dependency style (depmode) of tcc

2012-03-28 Thread Stefano Lattarini
tags 11007 + patch close 11007 thanks On 03/27/2012 04:21 PM, Stefano Lattarini wrote: > > I can now reproduce the issue, after upgrading tcc to version 0.9.25 > (either the issue wasn't present with the older version I had previously > installed, or I hadn't been able to trigger it). I hope I'll

Re: Binutils, GDB, GCC and Automake's 'cygnus' option

2012-03-28 Thread Stefano Lattarini
On 03/28/2012 02:29 PM, Joseph S. Myers wrote: > On Wed, 28 Mar 2012, Stefano Lattarini wrote: > >> - texinfo.tex is not required if a Texinfo source file is specified. The >> assumption is that the file will be supplied, but in a place that >> Automake cannot find. This assumption is an

Re: Binutils, GDB, GCC and Automake's 'cygnus' option

2012-03-28 Thread Joseph S. Myers
On Wed, 28 Mar 2012, Stefano Lattarini wrote: > - texinfo.tex is not required if a Texinfo source file is specified. The > assumption is that the file will be supplied, but in a place that > Automake cannot find. This assumption is an artifact of how Cygnus > packages are typically b

Re: Binutils, GDB, GCC and Automake's 'cygnus' option

2012-03-28 Thread Stefano Lattarini
Hi Joseph, thanks for the feedback. On 03/28/2012 01:24 PM, Joseph S. Myers wrote: > On Wed, 28 Mar 2012, Stefano Lattarini wrote: > >> But this option is going to be deprecated in Automake 1.12.1 and removed in >> Automake 1.13: >> >> > > T

Re: bug#11089: LINK determination

2012-03-28 Thread Peter Breitenlohner
On Tue, 27 Mar 2012, Stefano Lattarini wrote: [Adding automake-patches] Reference: On Sun, Mar 25, 2012 at 11:20 AM, Stefano Lattarini wrote: I'd describe this as an automake limitation; not sure if it's worth fixing (since yours is not a common use case, and t

Re: Binutils, GDB, GCC and Automake's 'cygnus' option

2012-03-28 Thread Joseph S. Myers
On Wed, 28 Mar 2012, Stefano Lattarini wrote: > But this option is going to be deprecated in Automake 1.12.1 and removed in > Automake 1.13: > > That page isn't very helpful since it doesn't give the non-deprecated way to achieve each part

Binutils, GDB, GCC and Automake's 'cygnus' option

2012-03-28 Thread Stefano Lattarini
Hello. I see that binutils, GCC and GDB still use the Automake's 'cygnus' option in some of their makefiles: $ grep_cygnus() { > grep -r 'cygnus' . \ >| perl -ne '/(^|[^@])cygnus($|(:!\.com\b))/ and print' \ >| grep -v '^[^:]*/Makefile\.in:'; \ > } $ (cd ~/src/binutils && g