Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium


Cross platform development Linux/Windows

Posted on 2003-02-20
Medium Priority
Last Modified: 2010-04-21
I work for small company that produces certain types of automated manufacturing equipment.  This equipment uses Windows as OS.  
Company would like to move to Linux for many reasons, but main is, of cause, money.

Besides capability of running stand alone, this equipment can be controlled from user PCs.  We design it in a way that code running on use PC and machine itself is pretty much the same.  So we have only one peace of code to maintain.  Since 99% of laptops are running Windows now no movement to Linux ( whatever flavor) are not going to happend unless we can demonstrate that we can have one peace of code running on both Linux and Windows.  ( OR at least hude portions of it can be shared.  Some OS specific code is allowed of cause, but we would like to keep it to absolute minimum )

Borland claims that they have set of tools to do just that.  Does anyone have did anything like that before?  It claims is the true what tools combination(s) should I look at? Is there any other tools available for such task?  

Areas involved in development would be:

Intesive UI:  graphs, charts, grids, color buttons etc...
TCPIP communications ie sockets.
RS232 communictions.... maybe.

Thank you for advice..

Question by:mblat

Accepted Solution

majorwoo earned 132 total points
ID: 7992052
there may be some different interface requirements, depends on how you did your graphics etc -- take a machine and install linux on it, and see what happens.

Best way to learn is jump right in - if you dont have free space on a machine, or a spare machine drop an extra hard drive in one.
LVL 46

Expert Comment

by:Kent Olsen
ID: 7993152

The Borland product that you're probably most interested in is their C++ Builder Version 6.  It's a "drag and drop" GUI environment builder wrapped around a full C/C++ compiler.

I'm a big fan of this environment having used it since they released version 5 (about 2 years).  I'm able to create apps very quickly with few headaches.

Version 6.x of the builder claims to support both Windows and Linux environments.  I've not used it to build any Linux applications yet, but I expect to soon port a Windows application that was created with the C++ Builder to Linux.

Any major API differences there are should be limited to the GUI.  I expect few, and probably no, C++ differences.


Expert Comment

ID: 7995062
You should be looking at Cygwin (www.cygwin.com) and Gnuwin32 (gnuwin32.sourceforge.net), which are ways to run code meant for Linux on Windows.  Cygwin is a whole Unix emulation environment, while Gnuwin32 is a simple DLL.  So the former works with more (most) programs that were written for Linux, but the latter fits more naturally into a Windows system.

These are both free software.
 [eBook] Windows Nano Server

Download this FREE eBook and learn all you need to get started with Windows Nano Server, including deployment options, remote management
and troubleshooting tips and tricks


Author Comment

ID: 8154608
All answers were helpfull.  Can I ask moderator to split points here?

Expert Comment

ID: 8154824
yes, in order to do that you post a 0 ptr in community support and ask the moderator to reduce the points for this question.  Then you accept someone as the answer.  Then post another question in this forum, say points for <useraname> and they will answer that question.

Expert Comment

ID: 8162680
Per request - points reduced for split.

mblat - Accept an answer by majorwoo as the answer.

Kdo - post comment in this for your points:

bryanh - yours are here:

EE Moderator

Featured Post

Configuration Guide and Best Practices

Read the guide to learn how to orchestrate Data ONTAP, create application-consistent backups and enable fast recovery from NetApp storage snapshots. Version 9.5 also contains performance and scalability enhancements to meet the needs of the largest enterprise environments.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The purpose of this article is to fix the unknown display problem in Linux Mint operating system. After installing the OS if you see Display monitor is not recognized then we can install "MESA" utilities to fix this problem or we can install additio…
The purpose of this article is to demonstrate how we can upgrade Python from version 2.7.6 to Python 2.7.10 on the Linux Mint operating system. I am using an Oracle Virtual Box where I have installed Linux Mint operating system version 17.2. Once yo…
Loops Section Overview
The Relationships Diagram is a good way to get an overall view of what a database is keeping track of. It is also where relationships are defined. A relationship specifies how two tables connect to each other. As you build tables in Microsoft Ac…

580 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question