view llvmdc-tango @ 323:0d52412d5b1a trunk

[svn r344] Fixed some very minor issues with the usage listing when calling llvmdc with no arguments. Changed the way moduleinfo is registered to use the same approach as DMD, this eliminates the need for correct linking order and should make the way for using a natively compiled runtime library. This should speed up linking tremendously and should now be possible. Fixed the llvm.used array to only be emitted if really necessary.
author lindquist
date Wed, 09 Jul 2008 23:43:51 +0200
parents 8f9191180c7a
children 657d37df25b0
line wrap: on
line source

profile=tango

compiler=llvmdc
inifile=llvmdc.conf

exeext=
objext=bc


version=LLVM
version=LLVMDC
noversion=DigitalMars
noversion=GNU
testversion=linux
testversion=Unix
version=Posix
testversion=Windows
testversion=Win32
testversion=Win64
testversion=X86
testversion=PPC
testversion=X86_64
testversion=PPC64
testversion=D_InlineAsm
testvestion=D_InlineAsm_X86
testversion=D_InlineAsm_PPC
testversion=D_InlineAsm_X86_64
testversion=D_InlineAsm_PPC64
testversion=LittleEndian
testversion=BigEndian
testversion=LLVM64


[compile]
cmd=llvmdc -version=Tango -c $i

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


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

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


[liblink]
safe=yes
#oneatatime=yes
cmd=llvm-ar rsc $o $i

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


[postliblink]
#cmd=ranlib $i


[shliblink]
shlibs=no

[dyliblink]
dylibs=no