/usr/xenomai/bin/xeno-config --skin cobalt --ldflags --no-mode-check

returns
-Wl,--no-as-needed   /usr/xenomai/lib/xenomai/bootstrap.o -Wl,--wrap=main 
-Wl,--dynamic-list=/usr/xenomai/lib/dynlist.ld -L/usr/xenomai/lib -lcobalt 
-lmodechk -lpthread -lrt

which removes the modechk wrappers, but leaves -lmodechk in. Is this expected?

As I understand it, libmodechk provides implementations for __wrap_malloc, 
__wrap_free and __real_malloc, __real_free() are these needed even when the 
wrappers are disabled, or should -lmodechk not be included?


_______________________________________________
Xenomai mailing list
Xenomai@xenomai.org
https://xenomai.org/mailman/listinfo/xenomai

Reply via email to