Login or Sign up Help | Site Map
Connecting Tech Pros Worldwide

Testing windows code compatibility with linux...

Question posted by: Jakes (Newbie) on July 2nd, 2008 12:49 PM
Hey guys. Hope this is the right forum for this kind of question... I'm doing some vacation work and I have been given c++ code that has been written in Microsoft visual studio and I need to evaluate the code and report back on which source files the code isn't compatible with the Linux platform. I want to test each source/header file on it's own for any erroneous code. For example open the ex.cpp and ex.h files and test if the code is Linux compatible. Is there any IDE that allows single file compilation on Linux or even a program testing whether code can be imported to Linux from Windows?

btw I'm using Ubuntu...
Would you like to answer this question?
Sign up for a free account, or Login (if you're already a member).
Laharl's Avatar
Laharl
Expert
733 Posts
July 2nd, 2008
03:15 PM
#2

Re: Testing windows code compatibility with linux...
Use gcc to try to compile each of them on the command line.

Reply
fineupall's Avatar
fineupall
Newbie
5 Posts
July 6th, 2008
08:57 AM
#3

Re: Testing windows code compatibility with linux...
I think that's the reason why Linux/Unix developers created the Autotools, Makefiles etc.. So that the code/library dependencies will automatically be checked and linked against the appropriate library.

I'm not really sure but you can try to import all your C++ source codes in Anjuta and let anjuta generate the makefiles for you so that you can compile and check for that dependencies.

Reply
Reply
Not the answer you were looking for? Post your question . . .
183,909 Experts ready to help you find a solution.
Sign up for a free account, or Login (if you're already a member).

Latest Articles: Read & Comment
Top Linux / Unix / BSD Forum Contributors