Mercurial > projects > ldc
view runtime/build-sharedlibs.sh @ 1407:9a049fd1a014
Let TargetABI::passByValue() know when a parameter is byref (either explicitly
or because it's a static array) by giving it the pointer type instead of the
type itself.
This fixes Derelict compilation on x86-64, where the ABI wasn't expecting a
static array to be passed in at all.
author | Frits van Bommel <fvbommel wxs.nl> |
---|---|
date | Fri, 22 May 2009 00:19:54 +0200 |
parents | 6aaa3d3c1183 |
children |
line wrap: on
line source
#!/bin/bash # I'm no good bash scripter ... # copy imports mkdir -p ../tango/ldc cp internal/ldc/bitmanip.d ../tango/ldc/bitmanip.di cp internal/ldc/vararg.d ../tango/ldc/vararg.di cp import/ldc/* ../tango/ldc # make the runtime cp -R lib ../tango cd ../tango/lib make -f ldc-posix.mak clean make -f ldc-posix.mak sharedlib cd ../.. # install the runtime rm -f lib/libldc-runtime-shared.so cp runtime/internal/libldc-runtime-shared.so lib rm -f lib/libtango-gc-basic-shared.so cp tango/lib/gc/basic/libtango-gc-basic-shared.so lib rm -f lib/libtango-cc-tango-shared.so cp tango/lib/common/tango/libtango-cc-tango-shared.so lib