Mercurial > projects > ldc
view dmd2/gnuc.h @ 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 | f04dde6e882c |
children |
line wrap: on
line source
#ifndef _GNUC_H #define _GNUC_H 1 int memicmp(const char *s1, const char *s2, int n); int stricmp(const char *s1, const char *s2); #endif