From: kk KKsingh on
Hi!

I am using gcc on matlab with mex !

1. I am wondering how can i disable linking of shared libraries ! I am getting some error which i am sure is due to shared library ! I always want gcc to use static libray ! I am not a root user

2. How can i tell it to link shared library !

mex -v aki.c -L/usr/local/include -labc -ldef


Thanks

Kumar