annotate build.sh @ 171:b080e62b16b4

Enhanced buildscript to simplify compiling for new users
author Abscissa
date Sun, 03 Oct 2010 17:55:10 -0400
parents 14feb7ae01a6
children 9f4e5ac4f0a3
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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
b080e62b16b4 Enhanced buildscript to simplify compiling for new users
Abscissa
parents: 154
diff changeset
6 rdmd -unittest buildHelper.d "$@"
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