mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-05-01 23:50:43 +03:00

In many cases this is straightforward. It makes the source LLVM 3.4 compatible without using #idef's.
26 lines
694 B
C++
26 lines
694 B
C++
//===-- gen/programs.h - External tool discovery ----------------*- C++ -*-===//
|
||
//
|
||
// LDC – the LLVM D compiler
|
||
//
|
||
// This file is distributed under the BSD-style LDC license. See the LICENSE
|
||
// file for details.
|
||
//
|
||
//===----------------------------------------------------------------------===//
|
||
//
|
||
// Functions for discovering the external tools used for linking, etc.
|
||
//
|
||
//===----------------------------------------------------------------------===//
|
||
|
||
#ifndef LDC_GEN_PROGRAMS_H
|
||
#define LDC_GEN_PROGRAMS_H
|
||
|
||
#include <string>
|
||
|
||
std::string getGcc();
|
||
std::string getArchiver();
|
||
|
||
// For Windows with MS tool chain
|
||
std::string getLink();
|
||
std::string getLib();
|
||
|
||
#endif
|