instaasebo.blogg.se

Gnu gcc for mac os
Gnu gcc for mac os











gnu gcc for mac os

IncludeDirs("/usr/include", "/usr/include/x86_64-linux-gnu", "/usr/include/SDL2")Įrror log: > Task :linkDebugExecutableNative FAILEDĮ: /home/ketanr/.konan/dependencies/x86_64-unknown-linux-gnu-gcc-8.3.0-glibc-2.19-kernel-4.9-2/x86_64-unknown-linux-gnu/bin/ld.gold invocation reported errors HostOs = "Mac OS X" -> macosX64("native")Įlse -> throw GradleException("Host OS is not supported in Kotlin/Native.") Val isMingwX64 = hostOs.startsWith("Windows") Val hostOs = System.getProperty("os.name") LinkerOpts.linux = -L/usr/lib -pthread -lSDL2 -lm -ldl The sources have been adapted from f: headers = SDL.h stdlib.h time.hĬompilerOpts.linux = -I/usr/include/SDL2 -D_REENTRANT I'm on Linux and first trying to get it working for such.

#GNU GCC FOR MAC OS HOW TO#

So I know exactly what it is failing to do, but I have no idea how to fix it.

gnu gcc for mac os

I come from a c/c++/other native languages background. I am unable to link a Kotlin-native binary with SDL2.













Gnu gcc for mac os