comparison 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
comparison
equal deleted inserted replaced
170:96c0fff6897d 171:b080e62b16b4
1 #!/bin/sh 1 #!/bin/sh
2 #i686-unknown-linux-gnu-g++ -c bridge/bridge.cpp -obridge.o 2 # This has exactly the same semantics as the old buildscript,
3 g++ -c bridge/bridge.cpp -obridge.o 3 # but supports extra optional command line arguments.
4 dmd -debug -gc @commands.linux.txt && dmd -release -O -inline @commands.linux.txt #|& head 4 # Too see the supported args, run: ./build.sh --help
5
6 rdmd -unittest buildHelper.d "$@"
7
8 # Old buildscript:
9 ##i686-unknown-linux-gnu-g++ -c bridge/bridge.cpp -obridge.o
10 #g++ -c bridge/bridge.cpp -obridge.o
11 #dmd -debug -gc @commands.linux.txt && dmd -release -O -inline @commands.linux.txt #|& head