Andreas Pakulat <[EMAIL PROTECTED]> writes: >> Huh? I'm not aware of that as a limitation - you *do* need the objects >> in the static library to be >> position-independant or otherwise compiled as objects to go into a >> shared library. > > Thats ok on linux, to get it working on 64 bit systems (32 bit don't need > -fPIC). However on some systems this is not supported at all, i.e. the > linker simply doesn't support creating a shared library from static libs. I > think one of those systems is windows, or rather MSVC.
You can use a .def file on MSVC for telling the linker what to export while creating the dll file. -- Oscar _______________________________________________ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake