Difference between revisions of "GDC/Installation"

From D Wiki
Jump to: navigation, search
(Add Arch Linux GDC build from source instructions)
(Migrated OSX stuff from old wiki)
Line 16: Line 16:
 
==== Arch Linux (also Manjaro Linux) ====
 
==== Arch Linux (also Manjaro Linux) ====
 
See [[GDC/Installation/ArchLinux]].
 
See [[GDC/Installation/ArchLinux]].
 +
 +
====OSX====
 +
<pre>
 +
make prep
 +
make gdc
 +
sudo make gdc-install
 +
make phobos
 +
sudo make phobos-install
 +
make clean
 +
</pre>
 +
 +
Tested with Mac OS X 10.3 and GCC 3.4 (and 3.3 too), looks like it is more or less identical to yours.
 +
 +
[http://forum.dlang.org/post/cnklvt$2ba3$1@digitaldaemon.com Source]
 +
 +
[http://www.algonet.se/~afb/d/Makefile Makefile]
  
 
=== Cross compiling ===
 
=== Cross compiling ===

Revision as of 09:36, 17 February 2014


Installing from source

Generic installation

Use the Installation/Generic guide if there's no system specific installation guide for your system.

System specific installation

Windows

Building on windows requires some special steps. There's no up to date guide right now. Outdated guides are available on the old GDC wiki.

Android

An initial Android port is available but development is paused for now and the code is in early alpha (read useless) state. See Installation/Android for more information.

Arch Linux (also Manjaro Linux)

See GDC/Installation/ArchLinux.

OSX

make prep
make gdc
sudo make gdc-install
make phobos
sudo make phobos-install
make clean

Tested with Mac OS X 10.3 and GCC 3.4 (and 3.3 too), looks like it is more or less identical to yours.

Source

Makefile

Cross compiling

See Cross Compiler.

After the installation

You might want to run the test suite, see GDC/Test Suite.