automake
[Top][All Lists]
Advanced

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

Re: Dependencies: non-standard path to system headers


From: ineiev
Subject: Re: Dependencies: non-standard path to system headers
Date: Wed, 2 Jul 2008 13:00:55 +0400

Hello,

On 7/1/08, Stepan Kasal <address@hidden> wrote:
>perhaps my first question is a bit naive, but why does this confuse
>your make?

make says something like this:

Makefile:1: *** multiple target patterns.  Stop.

As I understand, it interprets the input as

targets : target_pattern : \
sort_of_another_target_pattern : ... \
: at_last__prerequisite_pattern

The paths themselves are correct.

>Couldn't WinAVR be patched so that it produces this type of paths, to
>be compatible with its host environment?

The problem is cygwin is not WinAVR host environment,
it has it's own based on msys.
It's gcc honestly tells where it's headers have been installed.
I checked the WinAVR make, it can deal with such dependencies.
Unfortunately, it does not work on cygwin.

Probably the best is to build WinAVR tools from scratch on cygwin.

>Well, first you are depending on Automake internals, so you are at
>risk that things may break with future versions of Automake.  I
>suggest to test the feature each time you upgrade to new Automake
>API, i. e., Automake 1.11, 1.12, etc.

Bad news.

>Then let me note that you can also patch Makefile.in

Thank you. This would be really better.

Regards,
        Ineiev




reply via email to

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