RE: GCC C/C++ application to run on Windows

Top Page
Attachments:
Message as email
+ (text/plain)
+ (text/html)
+ (text/plain)
Delete this message
Reply to this message
Author: Francois, Jean (J.L.)
Date:  
To: Main PLUG discussion list
Subject: RE: GCC C/C++ application to run on Windows

On Fri, Aug 15, 2008 at 11:02:20AM -0700, keith smith wrote:
>
>
> 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
> ------------------------


- Compile on Linux with GCC
- Compile on MS-Windows after installing CYGWIN[1] with GCC
- Test.

[1] http://www.cygwin.com/

--
JLF Sends...
Jean Francois: Server Engineering/EE
Providing Fordified VMware/Linux to the Enterprise
VMware VCP2/VCP3 Certified
- Linux Counter Registered User #8863 1994-12-13 06:39:24
Ford Interfaith Network / Essene Nazarean Minister & Faith Rep. /
Discussion Group Coordinator
"You don't overcome challenges by making them smaller but by making
yourself bigger." - John C. Maxwell


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