Running a simple GUI app

John Emmas johne53@tiscali.co.uk
Mon Aug 18 14:55:00 GMT 2008


Hi there,

After installing Cygwin (under WinXP) I've got to the stage of compiling a
very simple "Hello World" app which just displays an empty GTK dialog with
the title "Hello World".  To run the app I (currently) have to start Cygwin
(using its desktop icon), type "startx" into the DOS terminal (which opens a
second terminal window), navigate to the folder containing my executable and
finally type "./HelloWorld".  Obviously this is all a bit convoluted.  Is
there a simpler way to launch my app - for example:-

a)  Double clicking on an icon, or
b)  Issuing some command (from a DOS terminal) that would launch the app -
but starting Cygwin and X invisibly.

Thanks,

John


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://x.cygwin.com/docs/
FAQ:                   http://x.cygwin.com/docs/faq/



More information about the Cygwin-xfree mailing list