port ing Win32 application writting in C++ to Linux
ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
port ing Win32 application writting in C++ to Linux
Hi All,
I am very new to Linux and we had a Win32 console application, which was developed with Microsoft Visual Studio C++ 6.0) into Linux.
What is the best way to port this project. Are there any white page or any information that I need to know before porting this project to Linux.
Thanks in advance,
JP
It depends very much of how it was coded. If you stuck to the standard C++ libraries, or a cross platform general purpose library like QT, you should simply be able to rebuild.
If you used Windows-specific libraries, you will have some porting to do.
Hi All,
I need to port the win32 application in C++ to Linux. So if you know any information related to this topic please help me.
Thanks in advance,
JP
Hi all
I am assigned a task which is to port a windows project into linux. I am relatively new to the porting concept. However I find this as interesting. But to my wonder I don’t see much discussion or help on porting at web and forums. Usually people try to port an application to linux by using WINE but I think that it is not actual porting of the application but instead we are running a windows executable inside linux process through some virtual layer… but that is not porting as much as I have understood. Also to write a portable code is not as difficult as to try to port an existing Windows specific application code into the linux platform.
I have a windows application/project built in C/C++ using windows API and MFC at some spots. Now the application need to be ported to Linux. I want to understand that are there any rules & guidelines specific to the porting. Currently I have situation somewhat like this:
Application has a MS COM Component depending on various libraries present in the shape of DLLs.
This COM (Component Object Model) serves the basic and fundamental logic of the application. But it uses several other 3rd party libraries and some self built libraries present in the form of DLL. Some of these DLLs are using MFC library.
Can any body suggest me that what formula I shall apply and follow any theory of porting in my situation. Currently I am planning to try to convert all the DLLs in a Linux Dynamic shared library and exclude all the MFC/Win API specific part from the code(that can be analyzed later). But What I have confliction is that is there any replacement of MS COM technology in Linux or I have to convert that COM into the Shared Library as well such that a separate process is forked in linux which contain a shared object or some thing like that. I really need the expert programmers guidance and any kind of information will be appreciated.
Regards
i also want to add a request... if some one know any book or a detailed article on porting from windows to linux then let me know...I have googled this a lot but always find little help... I also recommend the windows and linux gurus to try to do research on the common problem encountered during the windows code porting into Linux. Nowdays many ompanies are shifting their applications from windows to linux and I understand that this requires extensive knowledge of both platform... There shall be some discipline that the programmer shall follow while porting. I hope some one may do research on this in future and then discusses the daunting problems that are encountered while porting a large windows application.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.