From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Delivered-To: caml-list@yquem.inria.fr Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by yquem.inria.fr (Postfix) with ESMTP id 57A46BC75 for ; Tue, 22 Feb 2005 13:03:12 +0100 (CET) Received: from pauillac.inria.fr (pauillac.inria.fr [128.93.11.35]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id j1MC3BHI009354 for ; Tue, 22 Feb 2005 13:03:12 +0100 Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id NAA06160 for ; Tue, 22 Feb 2005 13:03:11 +0100 (MET) Received: from furbychan.cocan.org (furbychan.cocan.org [80.68.91.176]) by concorde.inria.fr (8.13.0/8.13.0) with ESMTP id j1MC3A6V005488 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO) for ; Tue, 22 Feb 2005 13:03:11 +0100 Received: from rich by furbychan.cocan.org with local (Exim 3.35 #1 (Debian)) id 1D3Yku-0001BM-00 for ; Tue, 22 Feb 2005 12:03:08 +0000 Date: Tue, 22 Feb 2005 12:03:08 +0000 To: caml-list@inria.fr Subject: Cross-platform "Hello, World" graphical application in OCaml Message-ID: <20050222120308.GA2975@furbychan.cocan.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.28i From: Richard Jones X-Miltered: at nez-perce with ID 421B1F80.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Miltered: at concorde with ID 421B1F7E.001 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; ocaml:01 wrote:01 makefile:01 makefile:01 gtk:01 notepad:01 installer:01 installer:01 unix:01 unix:01 native:02 graphical:02 graphical:02 let:03 complex:04 X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on yquem.inria.fr X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.0.2 X-Spam-Level: http://merjis.com/developers/xphelloworld This is something I've been meaning to do for over a year now, and I've finally got around to it. In 2003 I worked on a project where we wrote a complex graphical (Gtk-based) application for Windows. The program was primarily written on Linux, and we developed a cross-platform Makefile and installer allowing us to target both Windows and Unix platforms. The managers of this project have kindly allowed me to release the Makefile, NSIS installer script, and supporting code into the public domain. This is a "Hello, World"-type program which shows how it is possible to write a cross-platform graphical application which targets Windows and Unix. On Windows, it comes with an installer, an uninstaller, a desktop icon and menu entries. It has the native Windows look and feel on Windows. On Linux/Unix it has the ordinary Gtk look and feel. License is public domain. You can do whatever you like with the Makefile and installer script, including writing proprietary packages. I need help documenting how to install all the many extra development packages required under Windows. Let me know if you can help me document this. At the moment I have a Windows box here which works, but I'll need to reverse engineer exactly what I installed and where I got each component from. Rich. -- Richard Jones, CTO Merjis Ltd. Merjis - web marketing and technology - http://merjis.com Team Notepad - intranets and extranets for business - http://team-notepad.com