Help | Site Map
Connecting Tech Pros Worldwide
Reply
 
LinkBack Thread Tools
  #1  
Old July 2nd, 2008, 01:49 PM
Newbie
 
Join Date: Dec 2007
Posts: 4
Default Testing windows code compatibility with linux...

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...
Reply
  #2  
Old July 2nd, 2008, 04:15 PM
Expert
 
Join Date: Sep 2007
Posts: 844
Default

Use gcc to try to compile each of them on the command line.
Reply
  #3  
Old July 6th, 2008, 09:57 AM
Newbie
 
Join Date: Jun 2008
Posts: 5
Default

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

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles