www.digitalmars.com         C & C++   DMDScript  

D.gnu - Zero Install feed for GDC

Hi all,

I've put up a Zero Install feed for GDC here:

  http://0install.net/2006/3rd-party/GDC.xml

Programs can use this in their build systems to automatically download
(and cache) GDC when compiling, so that users don't need to install it
manually.

As a simple example, a Makefile containing this rule will work on any
system with Zero Install, whether GDC is installed or not:

%: %.d
	0launch http://0install.net/2006/3rd-party/GDC.xml -o "$ " "$<"

Perhaps you'd like to include the above link on your web page?

Thanks,


Further information for the curious:

Zero Install is a decentralised installation system. It is supplied with
some Linux distributions (e.g. Fedora Core), and packages are available
for most other distributions here:

  http://0install.net/injector.html

Program authors put up a GPG-signed XML feed (a bit like an RSS feed) on
their web site, listing all available versions of their programs, their
dependencies (identified by URIs), checksums, and download URLs.

If you wish to copy the GDC XML feed to your own site (rather than
just linking) that's fine! In that case, you'll need to change the 'uri'
attribute at the start and re-sign it. For details, see:

  http://0install.net/injector-packagers.html

In addition to getting the D compiler automatically, you can also use Zero
Install to get any libraries or tools you require (when building or at
run-time), rather as Apache's Maven does for Java programs.

You might also be interested in 0compile, which provides a simple framework
for this:

  http://0install.net/0compile.html

Let me know if you have any questions,



-- 
Dr Thomas Leonard		http://rox.sourceforge.net
GPG: 9242 9807 C985 3C07 44A6  8B9A AE07 8280 59A5 3CC1
Nov 26 2006