mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-01-18 13:53:14 +01:00
Removed now obsolote bin/ directory.
This commit is contained in:
@@ -1,4 +0,0 @@
|
||||
|
||||
[Environment]
|
||||
|
||||
DFLAGS=-I%@P%/../tango -E%@P%/../lib -L-L=%@P%/../lib
|
||||
43
bin/ldmd
43
bin/ldmd
@@ -1,43 +0,0 @@
|
||||
#! /usr/bin/env bash
|
||||
|
||||
# Default to 'ldc' next to this file
|
||||
LDC=`dirname "$0"`/ldc
|
||||
if [ ! -x "$LDC" ]; then
|
||||
# If that doesn't work, assume this script was called via $PATH
|
||||
# and do the same for ldc
|
||||
if which ldc &> /dev/null; then
|
||||
LDC=ldc
|
||||
else
|
||||
echo 'ldc not found, check your installation' >/dev/stderr
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
|
||||
declare -a ARGS
|
||||
IDX=0
|
||||
for arg; do
|
||||
case "$arg" in
|
||||
-C*)
|
||||
# turn -Cfoo into -foo.
|
||||
# Useful for passing -inline to ldc, for instance.
|
||||
arg="-${arg:2}"
|
||||
;;
|
||||
-debug|-debug=*|-version=*)
|
||||
arg="-d$arg"
|
||||
;;
|
||||
-inline)
|
||||
arg="-enable-inlining"
|
||||
;;
|
||||
-fPIC)
|
||||
arg="-relocation-model=pic"
|
||||
;;
|
||||
--a|--b|--c|--f|--r|--w|--x|--y)
|
||||
# "Hidden debug switches"
|
||||
# Are these ever used?
|
||||
arg="-hidden-debug${arg:1}"
|
||||
;;
|
||||
esac
|
||||
ARGS[IDX++]="$arg"
|
||||
done
|
||||
|
||||
exec "$LDC" "${ARGS[@]}"
|
||||
44
bin/ldmd2
44
bin/ldmd2
@@ -1,44 +0,0 @@
|
||||
#! /usr/bin/env bash
|
||||
|
||||
# Default to 'ldc' next to this file
|
||||
LDC=`dirname "$0"`/ldc2
|
||||
if [ ! -x "$LDC" ]; then
|
||||
# If that doesn't work, assume this script was called via $PATH
|
||||
# and do the same for ldc
|
||||
if which ldc2 &> /dev/null; then
|
||||
LDC=ldc2
|
||||
else
|
||||
echo 'ldc not found, check your installation' >/dev/stderr
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
|
||||
declare -a ARGS
|
||||
IDX=0
|
||||
for arg; do
|
||||
case "$arg" in
|
||||
-C*)
|
||||
# turn -Cfoo into -foo.
|
||||
# Useful for passing -inline to ldc, for instance.
|
||||
arg="-${arg:2}"
|
||||
;;
|
||||
-debug|-debug=*|-version=*)
|
||||
arg="-d$arg"
|
||||
;;
|
||||
-inline)
|
||||
arg="-enable-inlining"
|
||||
;;
|
||||
-fPIC)
|
||||
arg="-relocation-model=pic"
|
||||
;;
|
||||
--a|--b|--c|--f|--r|--w|--x|--y)
|
||||
# "Hidden debug switches"
|
||||
# Are these ever used?
|
||||
arg="-hidden-debug${arg:1}"
|
||||
;;
|
||||
esac
|
||||
ARGS[IDX++]="$arg"
|
||||
done
|
||||
ARGS[IDX++]="--singleobj"
|
||||
|
||||
exec "$LDC" "${ARGS[@]}"
|
||||
Reference in New Issue
Block a user