mingw_x86 target
This commit is contained in:
committed by
Sergey Bogolepov
parent
147c7d2c3e
commit
e1d2f783fe
@@ -358,6 +358,30 @@ dependencies.mingw_x64 = \
|
||||
msys2-mingw-w64-x86_64-gcc-7.3.0-clang-llvm-lld-6.0.1 \
|
||||
libffi-3.2.1-mingw-w64-x86-64
|
||||
|
||||
# Windows i686, based on mingw-w64.
|
||||
targetToolchain.mingw_x64-mingw_x86 = msys2-mingw-w64-i686-gcc-7.3.0-clang-llvm-lld-6.0.1
|
||||
dependencies.mingw_x64-mingw_x86 = \
|
||||
msys2-mingw-w64-i686-gcc-7.3.0-clang-llvm-lld-6.0.1 \
|
||||
msys2-mingw-w64-x86_64-gcc-7.3.0-clang-llvm-lld-6.0.1 \
|
||||
libffi-3.2.1-mingw-w64-x86-64
|
||||
|
||||
quadruple.mingw_x86 = i686-w64-mingw32
|
||||
targetSysRoot.mingw_x86 = msys2-mingw-w64-i686-gcc-7.3.0-clang-llvm-lld-6.0.1
|
||||
# For using with Universal Windows Platform (UWP) we need to use this slower option.
|
||||
# See https://youtrack.jetbrains.com/issue/KT-27654.
|
||||
# TODO: remove, once fixed in mingw, check with the bug testcase.
|
||||
llvmLtoFlags.mingw_x86 = -emulated-tls
|
||||
llvmLtoOptFlags.mingw_x86 = -O3 -function-sections
|
||||
llvmLtoNooptFlags.mingw_x86 = -O1
|
||||
linkerNoDebugFlags.mingw_x86 = -Wl,-S
|
||||
linkerDynamicFlags.mingw_x86 = -shared
|
||||
linkerKonanFlags.mingw_x86 = -static-libgcc -static-libstdc++ \
|
||||
-Xclang -flto-visibility-public-std -Wl,--dynamicbase \
|
||||
-Wl,-Bstatic,--whole-archive -lwinpthread -Wl,--no-whole-archive,-Bdynamic \
|
||||
-Wl,--defsym,___cxa_demangle=_Konan_cxa_demangle
|
||||
linkerOptimizationFlags.mingw_x86 = -Wl,--gc-sections
|
||||
entrySelector.mingw_x86 = -Wl,--defsym,_main=_Konan_main
|
||||
|
||||
# WebAssembly 32-bit.
|
||||
targetToolchain.macos_x64-wasm32 = target-toolchain-3-macos-wasm
|
||||
dependencies.macos_x64-wasm32 = \
|
||||
|
||||
Reference in New Issue
Block a user