view ldc-posix-tango @ 1052:12ea38902e83

Add '-singleobj' command line switch that will tell LDC to link LLVM modules internally and only emit a single object file. The switch allows the optimizer and inliner to run on all modules at once and opens the door for template instantiation improvements that should lower compile time and executable size.
author Christian Kamm <kamm incasoftware de>
date Sat, 07 Mar 2009 19:38:00 +0100
parents cc6489f32519
children 8403fec8c34c
line wrap: on
line source

ignore=object

compiler=ldc
inifile=ldc.conf

exeext=
objext=o


version=LLVM
version=LDC
noversion=DigitalMars
noversion=GNU
testversion=linux
testversion=darwin
testversion=freebsd
testversion=Unix
testversion=Posix
testversion=Windows
testversion=Win32
testversion=Win64
testversion=mingw32
testversion=X86
testversion=PPC
testversion=X86_64
testversion=PPC64
testversion=D_InlineAsm
testversion=D_InlineAsm_X86
testversion=D_InlineAsm_PPC
testversion=D_InlineAsm_X86_64
testversion=D_InlineAsm_PPC64
testversion=LLVM_InlineAsm_X86
testversion=LittleEndian
testversion=BigEndian
testversion=LLVM64
testversion=PIC
testversion=Tango


[compile]
oneatatime=yes
cmd=ldmd -c $i

flag=$i
incdir=-I$i
libdir=-L-L$i
optimize=-O3
version=-version=$i


[link]
oneatatime=yes
cmd=ldc $i -of$o

libdir=-L-L$i
lib=-L-l$i
flag=-L$i


[liblink]
safe=yes
oneatatime=yes
cmd=ar rc $o $i

libdir=
lib=
flag=


[postliblink]
cmd=ranlib $i


[shliblink]
shlibs=no

[dyliblink]
dylibs=no