I need to build a shared library from c code generated with mcc ?
1 回表示 (過去 30 日間)
古いコメントを表示
Hello,
i created a c- and h- files with following command line:
mcc -v -W lib:libfmat mymfunc.m
now i need to generate a shared library with this c-code, i am trying this way but this puts an unusable library out.
mbuild libfmat.c CFLAGS="-fPIC $CFLAGS" LDTYPE="-shared" LDEXT=".so"
I need to know how to make a shared library from generated c-code ?
Thank you. Ayoub
0 件のコメント
回答 (1 件)
Titus Edelhofer
2016 年 6 月 10 日
Hi,
you might do this in one step:
mcc -l mymfunc.m -o libfmat
Titus
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で MATLAB Compiler についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!