My favorites | Sign in
Project Home Downloads Wiki Issues Source
Search
for
BuildingAndInstalling  

Featured, Phase-Deploy
Updated Mar 27, 2008 by malevo...@gmail.com

Building and Installing

Environment

lget is written in the D programming language using the Tango library, and as such requires special tools to be compiled. Testing has currently only been done with the Digital Mars D compiler (DMD). Currently, there is no need for any special D-related tools such as Bud or DSSS, just a D compiler and the Tango library. Note: For Windows users, it is recommended to just get the installer package from here.

DMD

First, install DMD as per the instructions. This can be done in one of two ways.

  1. DMD and Tango can be installed together using the packages found here. This is the recommended installation method.
  2. Alternatively, you may install DMD 2.0 from the official site, then install the Tango library manually using the source distributions found here.
After installing DMD and the Tango library, the following (very simple) command is used to compile:

dmd lget -O

The -O switch shaves off a cooooool kilobyte. After compilation, installation must be done manually. This is as simple as moving the binary to the proper location (sorry, no makefile yet). Either the System32 folder on Windows, or /usr/bin/ in Linux.

GDC

GDC has not been tested with lget, but should be simple for advanced users to figure out. Currently, Tango comes supplied with GDC only for Linux platforms. The complete package can be found here.


Sign in to add a comment
Powered by Google Project Hosting