Mercurial > projects > ddmd
view build.sh @ 191:52188e7e3fb5
Fixed deprecated features, now compiles with DMD2.058
Also changed Array allocation policy:
Now doesn't reallocate but malloc's, followed by a memcpy (no free).
(this fixes a crash while compiling druntime. Same bug in dmd)
author | korDen@korDen-pc |
---|---|
date | Sun, 25 Mar 2012 03:11:12 +0400 |
parents | 9f4e5ac4f0a3 |
children |
line wrap: on
line source
#!/bin/sh # This has exactly the same semantics as the old buildscript, # but supports extra optional command line arguments. # Too see the supported args, run: ./build.sh --help rdmd buildHelper.d "$@" # Old buildscript: ##i686-unknown-linux-gnu-g++ -c bridge/bridge.cpp -obridge.o #g++ -c bridge/bridge.cpp -obridge.o #dmd -debug -gc @commands.linux.txt && dmd -release -O -inline @commands.linux.txt #|& head