[LITMUS^RT] [PATCH 0/2] Add module functionality to liblitmus

Björn Brandenburg bbb at mpi-sws.org
Wed Feb 5 22:18:24 CET 2014


On 05 Feb 2014, at 18:44, Manohar Vanga <mvanga at mpi-sws.org> wrote:

> Hey Björn,
> 
> I just wanted to point out that this method places certain restrictions on the filenames that you must use for your tasks. If you specify a different output binary name with regard to the source file name, the linker will not get called since that’s how the implicit rules work.
> 
> eg. if you’re compiling a binary called ‘example’ consisting of ‘task.o’, the linker will not get called. 
> eg. if you’re compiling a binary called ‘example’ consisting of ‘task.o’ and ‘another.o’, the linker will not get called.
> 
> eg. if you’re compiling a binary called ‘example’ consisting of ‘example.o’, the linker will get called.
> eg. if you’re compiling a binary called ‘example’ consisting of ‘example.o’ and ‘another.o', the linker will get called.
> 
> :-/

Can’t you provide an explicit rule to call the linker?






More information about the litmus-dev mailing list