1 Star 0 Fork 3

龙麒科研社/LDC

forked from Gitee 极速下载/LDC 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
ldc2_install.conf.in 1.40 KB
一键复制 编辑 原始数据 按行查看 历史
// See comments in driver/config.d in ldc source tree for grammar description of
// this config file.
// For cross-compilation, you can add sections for specific target triples by
// naming the sections as (quoted) regex patterns. See LDC's `-v` output
// (`config` line) to figure out your normalized triple, depending on the used
// `-mtriple`, `-m32` etc. E.g.:
//
// "^arm.*-linux-gnueabihf$": { … };
// "86(_64)?-.*-linux": { … };
// "i[3-6]86-.*-windows-msvc": { … };
//
// Later sections take precedence and override settings from previous matching
// sections while inheriting unspecified settings from previous sections.
// A `default` section always matches (treated as ".*") and is therefore usually
// the first section.
default:
{
// default switches injected before all explicit command-line switches
switches = [
"-defaultlib=phobos2-ldc,druntime-ldc",@ADDITIONAL_DEFAULT_LDC_SWITCHES@
];
// default switches appended after all explicit command-line switches
post-switches = [
"-I@INCLUDE_INSTALL_DIR@",
];
// default directories to be searched for libraries when linking
lib-dirs = [
"@CMAKE_INSTALL_LIBDIR@",
];
// default rpath when linking against the shared default libs
rpath = "@SHARED_LIBS_INSTALL_RPATH@";
};
"^wasm(32|64)-":
{
switches = [
"-defaultlib=",@WASM_DEFAULT_LDC_SWITCHES@
];
lib-dirs = [];
};
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/loongkylin_org/LDC.git
[email protected]:loongkylin_org/LDC.git
loongkylin_org
LDC
LDC
master

搜索帮助