How to add a dependency on start.o to the test executables in waf?

Sebastian Huber sebastian.huber at embedded-brains.de
Fri Oct 25 05:26:10 UTC 2019


On 25/10/2019 07:18, Sebastian Huber wrote:
>>
>>> How can I add a dependency on start.o to the test executables? I 
>>> tried several
>>> variants of bld.add_manual_dependency(), but nothing worked.
>>
>> I am not sure, I would need to have a close look at how the test stuff 
>> is being
>> put together. I cannot see where start.o in the bld statement.
>>
>> Is start.o treated in a special way, maybe hidden when linking in the 
>> linker
>> command?
> 
> The start.o is a start file and not a normal object. It is added either 
> through the GCC specs or the linker command file STARTUP() directive.

The dependency tracking for start.o is a nice to have feature. The 
current build system also lacks support for it.

-- 
Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
E-Mail  : sebastian.huber at embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.


More information about the devel mailing list