Download Reference Manual
The Developer's Library for D
About Wiki Forums Source Search Contact

Changes between Version 59 and Version 60 of WindowsInstall

Show
Ignore:
Author:
DRK (IP: 121.44.177.96)
Timestamp:
11/16/09 08:53:13 (14 years ago)
Comment:

Removed outdated instructions.

Legend:

Unmodified
Added
Removed
Modified
  • WindowsInstall

    v59 v60  
    9191 
    9292Firstly, delete (or rename) the `dmd\src\phobos` directory, then create a new, 
    93 empty `dmd\src\phobos` directory.  Copy the `dmd\windows\tango\user\object.di` 
     93empty `dmd\src\phobos` directory.  Copy the `dmd\windows\tango\object.di` 
    9494file to `dmd\src\phobos\object.di`. 
    9595 
    123123==== Automated Build and Install ==== 
    124124 
    125 This is recommended for end users who are installing into a pristine 
    126 environment.  Note that this will overwrite your `sc.ini` file.  See the 
    127 next section for details on how to do this manually. 
    128  
    129 Go to `dmd\windows\tango\build` and execute `build.bat`.  DO NOT 
    130 execute this batch file from a different working directory, or compilation 
    131 will fail. 
    132  
    133 Once this is done, proceed to the Test section to verify the install worked. 
    134  
    135 Note that if you need to see it, the original unmodified `sc.ini` is available 
    136 as `sc.ini.phobos`. 
     125'''This section is out of date.''' 
     126 
     127Is there an installer at all? 
    137128 
    138129==== Manually Build and Install ==== 
    141132compiler, and for developers who wish to work on Tango itself. 
    142133 
    143 The first step is to go to `dmd\windows\tango\build` and execute 
    144 `build-dmd.bat`.  This will build the Tango runtime for DMD.  This will 
    145 produce the following files (relative to the `build` directory): 
    146  
    147  * `libs\tango-base-dmd.lib` 
    148  * `libs\tango-base-dmd-dbg.lib` 
    149  
    150 These should be copied into `dmd\windows\lib`. 
    151  
    152 Second, you can optionally build the Tango user library as a static library. 
    153 This will speed compilation of programs.  If you want to do this, again go to 
    154 `dmd\windows\tango\build` and execute `build-tango.bat`.  Do not be alarmed if 
    155 you do not see any output for some time; the program just has a surprisingly 
    156 large output buffer! 
    157  
    158 The result of this, `libs\tango-user-dmd.lib` should be copied to 
    159 `dmd\windows\lib`. 
     134'''This section is out of date.''' 
     135 
     136??? 
    160137 
    161138Finally, you need to configure DMD to use Tango.  To do this, open the 
    168145 
    169146You want to delete `"-I%@P%\..\..\src\phobos"` and replace it with 
    170 `"-I%@P%\..\tango\user"`. 
     147`"-I%@P%\..\tango"`. 
    171148 
    172149You will also want to add the following to the `DFLAGS` setting (note: you do 
    175152 
    176153{{{ 
    177 -version=Tango -defaultlib=tango-base-dmd.lib -debuglib=tango-base-dmd-dbg.lib 
    178 }}} 
    179  
    180 If you compiled the user library to a static library, you can add the 
    181 following to `DFLAGS` as well.  Please note that this can conflict with 
    182 automated build tools if you intend to modify Tango itself. 
    183  
    184 {{{ 
    185 -L+tango-user-dmd.lib 
     154??? 
    186155}}} 
    187156