[Top][All Lists]

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

Re: Please, please fix the subdir-objects out-of-tree bug

From: Thomas Martitz
Subject: Re: Please, please fix the subdir-objects out-of-tree bug
Date: Tue, 1 Dec 2015 14:25:28 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0

Am 01.12.2015 um 13:44 schrieb R. Diez:
Hi Automake devs:

I need to build some files outside of the build repository, and I cannot use option 'subdir-objects' because of an Automake bug, so I constantly get many warnings like this with newer Automake versions:

warning: source file '$(BLAH_BLAH_DIR)/src/blah_blah.cpp' is in a subdirectory,

The (apparent) problem with 'subdir-objects' is that ./configure creates a directory literally named $(whater_variable_you_used), instead of substituting the variable with its value.

None of the work-arounds is satisfactory. For instance, I am developing, so I cannot disable dependency tracking.

Here is an example project of mine with this problem:

I am compiling vendor-specific external sources like ARM's CMSIS and Atmel Software Framework into an .a library and then linking it to many projects, and I have different sandboxes that build out-of-tree with different configurations. Other work-arounds like copying the sources to each project's directory tree would drastically slow down compilation times.

This Automake issue has been known for years. Could someone please, please fix this bug?

IIRC the bug is fixed, but there has not been a new release since then. And developer resources are so scarce that nobody is up to making a release.

Best regards

reply via email to

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