Frama-C-discuss mailing list archives

This page gathers the archives of the old Frama-C-discuss archives, that was hosted by Inria's gforge before its demise at the end of 2020. To search for mails newer than September 2020, please visit the page of the new mailing list on Renater.


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

[Frama-c-discuss] Custom libraries in dynamic plugins



Le 24/08/2011 09:19, Anne Pacalet a ?crit :
> Hello,
>
> Le 23/08/2011 18:41, Damien Karkinsky a ?crit :
>> PLUGIN_BFLAGS := -I +extralib
>> PLUGIN_OFLAGS := -I +extralib
>> PLUGIN_EXTRA_BYTE := extralib.cma
>> PLUGIN_EXTRA_OPT:= extralib.cma
>>
>> gives me an /make/ error with no rule to make extralib.cma.
>
> In a similar situation, I don't know why, but I had to use :
>  > PLUGIN_BFLAGS := -I $(EXTRALIB_PATH)
>  > PLUGIN_OFLAGS := -I $(EXTRALIB_PATH)
>  > PLUGIN_EXTRA_BYTE := $(EXTRALIB_PATH)/extralib.cma
>  > PLUGIN_EXTRA_OPT:= $(EXTRALIB_PATH)/extralib.cma
>
> with EXTRALIB_PATH defined to be the [extralib] directory.

That is a correct alternative to my proposal. It works because make is 
able to find $(EXTRALIB_PATH)/extralib.cma and check that it is up-to-date.

--
Julien