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

Building Tango

Building the Tango static libraries is simply a matter of selecting the appropriate build script from the 'lib' directory in the Tango distribution. It is not necessary to have Tango installed to complete this process successfully. Here is a list of build scripts by compiler and platform, and the libraries they should generate:

DMD Win32

  • Script: build-dmd.bat
  • Libraries:
    • tango-base-dmd.lib
    • compiler\tango-rt-dmd.lib (*)
    • common\tango-cc-tango.lib (*)
    • gc\tango-gc-basic.lib (*)
  • Script: build-tango.bat
  • Libraries:
    • tango-user-dmd.lib
  • Script: build-win32.bat
  • Libraries:
    • tango-win32-dmd.lib

DMD Linux

  • Script: "build-dmd.sh"
  • Libraries:
    • libtango-base-dmd.a
    • compiler/libtango-rt-dmd.a (*)
    • common/libtango-cc-tango.a (*)
    • gc/libtango-gc-basic.a (*)
  • Script: "build-tango.sh dmd"
  • Libraries:
    • libtango-user-dmd.a

GDC Mac OS X

  • Script: build-gdc-mac.sh
  • Universal Libraries:
    • libgphobos.a
    • common/libtango.a (*)
    • compiler/libgdc.a (*)
    • gc/libbasic.a (*)
  • Script: "build-tango.sh mac"
  • Universal Libraries:
    • libgtango.a

GDC Posix

  • Script: build-gdc.sh
  • Libraries:
    • libgphobos.a
    • common/libtango.a (*)
    • compiler/libgdc.a (*)
    • gc/libbasic.a (*)
  • Script: "build-tango.sh gdc"
  • Libraries:
    • libgtango.a

(*) Marked libraries are included in the previous listed library.

Further Reading

To learn how to manually install Tango, please continue on to the Tango Installation Guide. And for more complex needs, optionally continue to the Advanced Configuration Guide.

User Comments

Comments