Mercurial > projects > ddmd
annotate build.sh @ 192:eb38fdcb3e62 default tip
updated to compile with dmd2.062
author | korDen |
---|---|
date | Sat, 02 Mar 2013 01:25:52 -0800 |
parents | 9f4e5ac4f0a3 |
children |
rev | line source |
---|---|
14
2cc604139636
Implemented Linux support for ddmd. Some parts are a bit hacky to just "get it working", that said, druntime and phobos compile, and unittests pass.
Robert Clipsham <robert@octarineparrot.com>
parents:
diff
changeset
|
1 #!/bin/sh |
171
b080e62b16b4
Enhanced buildscript to simplify compiling for new users
Abscissa
parents:
154
diff
changeset
|
2 # This has exactly the same semantics as the old buildscript, |
b080e62b16b4
Enhanced buildscript to simplify compiling for new users
Abscissa
parents:
154
diff
changeset
|
3 # but supports extra optional command line arguments. |
b080e62b16b4
Enhanced buildscript to simplify compiling for new users
Abscissa
parents:
154
diff
changeset
|
4 # Too see the supported args, run: ./build.sh --help |
b080e62b16b4
Enhanced buildscript to simplify compiling for new users
Abscissa
parents:
154
diff
changeset
|
5 |
184
9f4e5ac4f0a3
One step closer to building on posix.
Jacob Carlborg <doob@me.com>
parents:
171
diff
changeset
|
6 rdmd buildHelper.d "$@" |
171
b080e62b16b4
Enhanced buildscript to simplify compiling for new users
Abscissa
parents:
154
diff
changeset
|
7 |
b080e62b16b4
Enhanced buildscript to simplify compiling for new users
Abscissa
parents:
154
diff
changeset
|
8 # Old buildscript: |
b080e62b16b4
Enhanced buildscript to simplify compiling for new users
Abscissa
parents:
154
diff
changeset
|
9 ##i686-unknown-linux-gnu-g++ -c bridge/bridge.cpp -obridge.o |
b080e62b16b4
Enhanced buildscript to simplify compiling for new users
Abscissa
parents:
154
diff
changeset
|
10 #g++ -c bridge/bridge.cpp -obridge.o |
b080e62b16b4
Enhanced buildscript to simplify compiling for new users
Abscissa
parents:
154
diff
changeset
|
11 #dmd -debug -gc @commands.linux.txt && dmd -release -O -inline @commands.linux.txt #|& head |