GCC C/C++ application to run on Windows

koder hmichels01 at earthlink.net
Fri Aug 15 11:31:09 MST 2008


I would like to qualify Jon's comment.

It is possible to write applications that run on both Windows and Linux,
if they are compiled separately and access resources required by each of
the respective operating systems. You will need to understand
programming in both environments.

Writing an application that is going to access data sloshing through
MySQL on your system is another matter. It is possible, in principle to
write an application that can access the data on a Linux box, in a MySQL
database. Internet Explorer does this all the time.

I would suggest that before you rush off, you need to think about your
goal. See if you can use existing tools to accomplish it before you
invest a year of your life in something that might use off the shelf
tools.

Deciding to use C or C++ may before you have done that may not be
appropriate.

Harold



-----Original Message-----
From: keith smith <klsmith2020 at yahoo.com>
Reply-To: klsmith2020 at yahoo.com, Main PLUG discussion list
<plug-discuss at lists.plug.phoenix.az.us>
To: plug-discuss at lists.plug.phoenix.az.us
Subject: GCC C/C++ application to run on Windows
Date: Fri, 15 Aug 2008 11:02:20 -0700 (PDT)



Hi,

I'm thinking of writing a small application that can run on both Linux
and Windows written in GCC C/C++ that will utilize MySql running on
Linux .

Initially I need the application to run on Windows XP or Vista and
connect to the Linux box to access MySql.

Is it possible to write an application using GCC that will run both on
Linux and Windows?  If so what should I be looking into?

Is there a better approach? 

Thanks in advance,
Keith
------------------------




---------------------------------------------------
PLUG-discuss mailing list - PLUG-discuss at lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss



More information about the PLUG-discuss mailing list