kyonifer
08/03/2017, 5:31 PM-nomain flag? I've been trying to get something like konanc -nomain foo.kt -linkerOpts main.o -e main to work (where main.c is a C hello world) but i'm getting stuck on function Konan_start: error: undefined reference to 'EntryPointSelector', wondering if theres an obvious flag im missingalexander.gorshenev
08/10/2017, 9:52 AMfun main(args: Array<String>) within the default package in your foo.kt. That's what your -e main refers to.kyonifer
08/10/2017, 1:32 PMvoid foo(void); int main(int argc, char **argv) { foo(); return 0; } and foo.kt is fun foo() {}, and there is no kotlin main function. is this possible with the -nomain flag?