Ralf Corsepius <[EMAIL PROTECTED]> 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.


_______________________________________________
bug-gnulib mailing list
bug-gnulib@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-gnulib

Reply via email to