LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Windows DLL to Linux .so (https://www.linuxquestions.org/questions/linux-software-2/windows-dll-to-linux-so-250920/)

mohan_mohan 11-04-2004 01:01 AM

Windows DLL to Linux .so
 
HI,

I have a windows DLL written in Borland C++. I have to migrate that one to Linux platform. We have to convert the DLL into .so file as there is no concept of DLL in Linux. I heard some tools like win2lin, but WINE will not help me in this.

If you have any idea on that please reply for this message.

Thank you

daihard 11-04-2004 01:46 AM

Re: Windows DLL to Linux .so
 
Quote:

Originally posted by mohan_mohan
I have a windows DLL written in Borland C++. I have to migrate that one to Linux platform. We have to convert the DLL into .so file as there is no concept of DLL in Linux. I heard some tools like win2lin, but WINE will not help me in this.
This may not be the kind of answer you're looking for, but since you have the source code of your DLL, can you simply write a Linux makefile and try recompiling the code into a shared object (.so)?

mohan_mohan 11-04-2004 04:30 AM

Re: Re: Windows DLL to Linux .so
 
Quote:

Originally posted by daihard
This may not be the kind of answer you're looking for, but since you have the source code of your DLL, can you simply write a Linux makefile and try recompiling the code into a shared object (.so)?
Thank you. Thank you oncemore for replying very fast.
Here I also have a VB DLL. So I want to convert this VB DLL to Linux .so. Sorry for making you more burden.. Just I need the suggestion whatever it may be.

daihard 11-04-2004 10:43 AM

Re: Re: Re: Windows DLL to Linux .so
 
Quote:

Originally posted by mohan_mohan
Here I also have a VB DLL. So I want to convert this VB DLL to Linux .so. Sorry for making you more burden.. Just I need the suggestion whatever it may be.
Hmmm... We do a lot of porting between different platforms, but we have source code in C/C++ so it's just a matter of using standard ANSI C/C++ and appropriate makefiles. I'm not sure if there's an easy way to port code in the binary format, though. The fact that both Windows and (typical) Linux use the Intel 32-bit CPU may help, but I could be wrong.

Sorry I can't be of much help...


All times are GMT -5. The time now is 12:57 AM.