Mercurial > projects > ldc
view ldc-posix-tango @ 988:2667e3a145be
- Fixed LLVM style CL args for D2.
- Moved main() into its own file gen/main.cpp
- Fixed basic cross compilation
- removed the option for setting OS
- added support for llc's mattr, mcpu and mtriple switches
- added basic ABI abstraction for return value rewrites, it's not perfect and will probably be completely rewritten once I get to handling parameter rewrites as well.
- x86-64 extern(C) abi for cfloat returns now match (llvm-)gcc.
author | Tomas Lindquist Olsen <tomas.l.olsen@gmail.com> |
---|---|
date | Thu, 26 Feb 2009 14:11:49 +0100 |
parents | a8cb25d478c4 |
children | cc6489f32519 |
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 [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