Difference between revisions of "GDC/Installation"

From D Wiki
Jump to: navigation, search
(Migrated OSX stuff from old wiki)
 
(5 intermediate revisions by 2 users not shown)
Line 9: Line 9:
  
 
==== Windows ====
 
==== Windows ====
Building on windows requires some special steps. There's no up to date guide right now. Outdated guides are available on the old [http://gdcproject.org/wiki/Installation/ GDC wiki].
+
Building on windows requires some special steps. There's no up to date guide right now.
  
 
==== Android ====
 
==== Android ====
Line 17: Line 17:
 
See [[GDC/Installation/ArchLinux]].
 
See [[GDC/Installation/ArchLinux]].
  
====OSX====
+
====AMD-64====
 
<pre>
 
<pre>
make prep
+
../gcc-3.4.3/configure --enable-languages=c,d,c++
make gdc
+
--prefix=/usr/local/gcc-3.4.3 --target=i686-pc-linux-gnu
sudo make gdc-install
+
--build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --enable-share
make phobos
 
sudo make phobos-install
 
make clean
 
 
</pre>
 
</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.
+
==== Cygwin ====
 
+
[http://forum.dlang.org/post/d29jda$2jnh$1@digitaldaemon.com Announcement]
[http://forum.dlang.org/post/cnklvt$2ba3$1@digitaldaemon.com Source]
 
 
 
[http://www.algonet.se/~afb/d/Makefile Makefile]
 
  
 
=== Cross compiling ===
 
=== Cross compiling ===
Line 38: Line 32:
 
=== After the installation ===
 
=== After the installation ===
 
You might want to run the test suite, see [[GDC/Test Suite]].
 
You might want to run the test suite, see [[GDC/Test Suite]].
 +
 +
 +
[[Category:GDC Compiler]]

Latest revision as of 20:05, 1 September 2015


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.

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.

AMD-64

../gcc-3.4.3/configure --enable-languages=c,d,c++
--prefix=/usr/local/gcc-3.4.3 --target=i686-pc-linux-gnu
--build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --enable-share

Cygwin

Announcement

Cross compiling

See Cross Compiler.

After the installation

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