Hello. I am working on cross platform C library, which defines a group of functions, however it doesn't need to export all of them. AFAIK using .def file is a right way since __declspec (dllexport) is microsoft specific. The problem is that I cannot make C::b using this .def file in linking settings via --def=export.def or -Wl,-def=export. Is there c::b specific way of using .def files?