Join Slack
Powered by
(my goal is to end up with a single bitcode file f...
# kotlin-native
j
jkbbwr
10/15/2018, 10:00 AM
(my goal is to end up with a single bitcode file for
all
of my program including any runtime functions)
o
olonho
10/15/2018, 10:30 AM
see how linkage happens at
https://github.com/JetBrains/kotlin-native/blob/bef66d93dd73996f960cb71b7eab5a05de88fa35/backend.native/compiler/ir/backend.native/src/org/jetbrains/kotlin/backend/konan/LinkStage.kt#L201
j
jkbbwr
10/15/2018, 11:05 AM
Could we add a flag to not have linkage happen and just stop at the bitcode stage. Like how GCC does it with -S and so on
k
krotki
10/15/2018, 11:35 AM
check
-produce bitcode
and
-nostdlib
flags
krotki
10/15/2018, 11:35 AM
not sure if this is what you are after tho
j
jkbbwr
10/15/2018, 12:01 PM
@krotki
I want the entire program + stdlib + runtime all in a single bitcode file not as external references in my bitcode
j
jonnyzzz
10/16/2018, 7:17 AM
also
https://github.com/JetBrains/kotlin-native/issues/1202
Open in Slack
Previous
Next