Mercurial > projects > ldc
comparison dmd/mars.h @ 276:21f85bac0b1a trunk
[svn r297] Fixed: rewrote linker code to use LLVM's Program facilities instead of DMD's oldschool broken "native" approach.
author | lindquist |
---|---|
date | Fri, 20 Jun 2008 17:45:13 +0200 |
parents | 665b81613475 |
children | 90a8c798b0db |
comparison
equal
deleted
inserted
replaced
275:665b81613475 | 276:21f85bac0b1a |
---|---|
302 | 302 |
303 void error(Loc loc, const char *format, ...); | 303 void error(Loc loc, const char *format, ...); |
304 void verror(Loc loc, const char *format, va_list); | 304 void verror(Loc loc, const char *format, va_list); |
305 void fatal(); | 305 void fatal(); |
306 void err_nomem(); | 306 void err_nomem(); |
307 int runLINK(); | 307 //int runLINK(); // no longer used |
308 void deleteExeFile(); | 308 void deleteExeFile(); |
309 int runProgram(); | 309 int runProgram(); |
310 void inifile(char *argv0, char *inifile); | 310 void inifile(char *argv0, char *inifile); |
311 void halt(); | 311 void halt(); |
312 | |
313 // LLVMDC | |
314 int linkExecutable(); | |
312 | 315 |
313 /*** Where to send error messages ***/ | 316 /*** Where to send error messages ***/ |
314 #if IN_GCC | 317 #if IN_GCC |
315 #define stdmsg stderr | 318 #define stdmsg stderr |
316 #else | 319 #else |