How to embed ctf in shared library?
3 views (last 30 days)
I have this matlab function foo.m.
If I run mcc -N -W lib:libfoo -T link:lib foo.m I get a libfoo.so (about 34k in size).
And if I run mcc -N -W lib:libfoo -T compile:lib foo.m I get libfoo.o (about 4k in size), and a libfoo.ctf (about 25k in size).
Question: How do I combine libfoo.o with libfoo.ctf (and possibly other .o-files) to get a shared library libfoo.so that includes all the object files and the ctf file?