- 移除 -Wl,--unresolved-symbols=ignore-in-object-files(GNU ld 专用,lld 报 unknown argument) - 移除 -latomic(clang64 无 libatomic;x86_64 原子均 lock-free) - 保留 -Wl,--allow-multiple-definition(lld 支持) - 47 个 Test project.json 统一更新
41 lines
1.0 KiB
JSON
41 lines
1.0 KiB
JSON
{
|
|
"$schema": "https://raw.githubusercontent.com/TermiNexus/TransPyC/main/schemas/project-schema.json",
|
|
"name": "G7",
|
|
"version": "1.0.0",
|
|
"source_dir": "./App",
|
|
"build_dir": "./.tpv_build",
|
|
"compiler": {
|
|
"cmd": "llc",
|
|
"flags": [
|
|
"-filetype=obj",
|
|
"-relocation-model=pic"
|
|
]
|
|
},
|
|
"linker": {
|
|
"cmd": "clang++",
|
|
"flags": [
|
|
"-Wl,--allow-multiple-definition",
|
|
"-lmsvcrt",
|
|
"-lucrt",
|
|
"-lpthread",
|
|
"-lmingwex",
|
|
"-lkernel32",
|
|
"-luser32"
|
|
],
|
|
"output": "G7.exe"
|
|
},
|
|
"includes": [
|
|
"../../includes",
|
|
"./includes"
|
|
],
|
|
"target": {
|
|
"triple": "x86_64-pc-windows-gnu",
|
|
"datalayout": "e-m:w-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
|
|
},
|
|
"options": {
|
|
"slice_level": 3,
|
|
"sha1_slice_level": 1,
|
|
"target": "llvm",
|
|
"strict_mode": true
|
|
}
|
|
} |