By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
464,760 Members | 1,142 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 464,760 IT Pros & Developers. It's quick & easy.

Testing windows code compatibility with linux...

P: 4
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...
Jul 2 '08 #1
Share this Question
Share on Google+
2 Replies

Expert 100+
P: 849
Use gcc to try to compile each of them on the command line.
Jul 2 '08 #2

P: 5
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.
Jul 6 '08 #3

Post your reply

Sign in to post your reply or Sign up for a free account.