Hi All,
I need to port a Windows C++ Dll to linux platform. I am new to the entire concept . I would highly appriciate it if anyone can pls tell me what are the issues that i will encounter.The complete code for Dll needs to be ported.
Any other link on C++ dlls in linux environment would also be helpful.
Please help.
Thanks in advance.
Noopur
dlls are called 'shared objects' in Unix/Linux; all you do is recompile all the sources,
use the -fPIC flag (PIC == Position Independent Code) and link all the compiled
.o (o == object) files using the -dynamic flag. The linker will produce a .so file
for you which is exaclty identical to an executable file without a jump to a main()
function. Don't forget to link against *other* .so files used by your library.
kind regards,
Jos