bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: $(EXEEXT) in TESTS required?


From: Simon Josefsson
Subject: Re: $(EXEEXT) in TESTS required?
Date: Tue, 24 Jan 2006 13:15:25 +0100
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux)

Ralf Corsepius <address@hidden> writes:

> On Mon, 2006-01-23 at 21:51 +0100, Bruno Haible wrote:
>> [For the automake people: The problem is that a Makefile.am snippet like
>> 
>>      TESTS = test-lock
>>      check_PROGRAMS = test-lock
>>      test_LOCK_LDFLAGS = -lmyspeciallib
>> 
>> when cross-compiling to mingw on a Unix system with 'wine', will cause
>> "make check" to build 'test-lock', rather than 'test-lock.exe', 
> This would qualify as a bug, either in your compiler's set up or in the
> package's configuration.
>
> I don't have a mingw cross toolchain, but other cross compilers (eg.
> linux->cygwin) handle this situation correctly.

Could you expand on this?

What happens is that automake produce rules to turn test-lock.c into
test-lock.exe, but 'make check' will try to build 'test-lock', and
there are no rules for that, so it fails.  Where is the bug in the
compile chain?

Thanks.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]