LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 08-07-2006, 12:23 AM   #1
masoudtab
LQ Newbie
 
Registered: Jul 2006
Posts: 1

Rep: Reputation: 0
what c++ platform should i choose?


hello
first , i apologize for my bad english.
i work in a company and we have just finished a software for a project . this software is written in visual c++ 6 and because of long duration in completing it and changing of design parameters and personnel this software is not well designed at all. we want to produce a new version af this software with new software designing ( we have the algoritms ).
we want the new version to be portable to linux and the time factor is very important for us and the money is not 'very' important. we have very little expreince in linux envirement.our programm have a interface with hardware , is multithread and have a gui with self designed components ( charts and special diagrams and so). these are my questions :
1- should we use a crossplatform or should we use vc again and then port it to linux?
2- if we should use a crossplatform which one is better for us and why?

i will be very happy if you can help us in this situation.
 
Old 08-07-2006, 02:22 AM   #2
j-ray
Senior Member
 
Registered: Jan 2002
Location: germany
Distribution: ubuntu, mint, suse
Posts: 1,591

Rep: Reputation: 145Reputation: 145
i dont know what way you work most productive but i think in general you are better off if you develop once and compile for several platforms. For this you may use QT4 available for some money with different license versions at www.trolltech.com. A cheaper alternative is available at www.wxwidgets.org for free.
I once tried out QT3 and found it very attractive. (KDE is built on qt3 libraries.
Cheers,J.
 
Old 08-07-2006, 08:56 AM   #3
dmail
Member
 
Registered: Oct 2005
Posts: 970

Rep: Reputation: Disabled
Quote:
...this software is written in visual c++ 6...
Quote:
...we want the new version to be portable to linux and the time factor is very important for us...
Heres what I would do, uninstall VS 6 and burn the discs; it was microsoft's interpretation of what the C++ standard maybe before it was released. Porting anything from VS6 is just going to take more time, even to another Windows C++ compiler never mind Linux.

For cross platfrom threads look either at Boost or pthread_win32.

Last edited by dmail; 08-07-2006 at 09:01 AM.
 
Old 08-07-2006, 05:19 PM   #4
graemef
Senior Member
 
Registered: Nov 2005
Location: Hanoi
Distribution: Fedora 13, Ubuntu 10.04
Posts: 2,379

Rep: Reputation: 148Reputation: 148
I'd also agree with the above sentiments:

a) Forget Visual C++ is you want portability
b) Select QT4 for portability

With QT4 you can still develop in Windows and then port the code over to Linux with little or no change to your code. Off the top of my head the main area of conflict between the two O/Ses would be the slash and backslash used in path names, and case sensitivity in Linux with file names. If you ensure that it works with Linux, then it will work with Windows.
 
  


Reply



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 On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to run programmes made for windows platform in linux platform... compugeek2006 Linux - Software 1 06-26-2006 09:34 PM
Replaciing java platform by Sun's Java platform machan Linux - Newbie 1 11-11-2005 01:55 AM
which platform to run? kitek Linux - Software 2 10-12-2005 07:08 PM
How can i send message from Linux platform to Windows platform linuxeagle Linux - Networking 1 02-17-2004 12:35 AM
New OS for the Intel platform. moeminhtun General 11 05-30-2003 01:22 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration